Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00111/0.00111, allocations: 107.3 kB / 17.2 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.0011, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 246.3 MB, free: 9.039 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.98 kB / 306.4 MB, free: 0.6992 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1013, allocations: 50.53 MB / 356.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004215/0.1056, allocations: 2.797 MB / 359.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1068, allocations: 0.7128 MB / 360.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.1069, allocations: 4 kB / 360.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.1071, allocations: 31.77 kB / 360.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.1073, allocations: 79.39 kB / 360.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.1076, allocations: 79.91 kB / 360.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.1079, allocations: 326.6 kB / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.1081, allocations: 79.36 kB / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.1082, allocations: 123.4 kB / 361.1 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.1084, allocations: 135.4 kB / 361.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.45e-05/0.1085, allocations: 20 kB / 361.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.1085, allocations: 16 kB / 361.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.437e-05/0.1086, allocations: 55.77 kB / 361.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.1087, allocations: 135.2 kB / 361.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.109, allocations: 307.1 kB / 361.8 MB, free: 9.266 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.109, allocations: 0 / 361.8 MB, free: 9.266 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.109, allocations: 0 / 361.8 MB, free: 9.266 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.109, allocations: 0 / 361.8 MB, free: 9.266 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001195/0.1102, allocations: 0.6341 MB / 362.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1103, allocations: 16.02 kB / 362.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.371e-05/0.1104, allocations: 50.73 kB / 362.5 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.465e-05/0.1104, allocations: 32.56 kB / 362.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.1107, allocations: 271.5 kB / 362.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.1108, allocations: 24.8 kB / 362.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.1108, allocations: 16.38 kB / 362.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006107/0.1114, allocations: 277.9 kB / 363.1 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1114, allocations: 3.938 kB / 363.1 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.1115, allocations: 8 kB / 363.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.1115, allocations: 12 kB / 363.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007183/0.1122, allocations: 241.5 kB / 363.3 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.1138, allocations: 0.9062 MB / 364.2 MB, free: 6.602 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.1152, allocations: 443.4 kB / 364.7 MB, free: 6.141 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.1156, allocations: 96.72 kB / 364.8 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.1156, allocations: 0 / 364.8 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005007/0.1161, allocations: 165.9 kB / 364.9 MB, free: 5.859 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.1161, allocations: 4 kB / 364.9 MB, free: 5.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002015/0.1181, allocations: 0.5731 MB / 365.5 MB, free: 5.254 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.935e-05/0.1182, allocations: 106.8 kB / 365.6 MB, free: 5.125 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.1185, allocations: 274.6 kB / 365.9 MB, free: 4.848 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.1186, allocations: 29.7 kB / 365.9 MB, free: 4.812 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.1187, allocations: 183.7 kB / 366.1 MB, free: 4.629 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.1188, allocations: 31.55 kB / 366.1 MB, free: 4.598 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.927e-05/0.1189, allocations: 53.61 kB / 366.2 MB, free: 4.539 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.119, allocations: 334.8 kB / 366.5 MB, free: 4.203 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.1193, allocations: 91.92 kB / 366.6 MB, free: 4.113 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.1198, allocations: 199.4 kB / 366.8 MB, free: 3.871 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006677/0.1204, allocations: 309.3 kB / 367.1 MB, free: 3.523 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1204, allocations: 0 / 367.1 MB, free: 3.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001131/0.1216, allocations: 431.8 kB / 367.5 MB, free: 3.086 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.1216, allocations: 41.69 kB / 367.5 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1216, allocations: 0 / 367.5 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002976/0.1219, allocations: 65.19 kB / 367.6 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.1222, allocations: 51.97 kB / 367.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.1241, allocations: 1.503 MB / 369.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.1244, allocations: 55.7 kB / 369.2 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.1245, allocations: 8 kB / 369.2 MB, free: 1.223 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.1246, allocations: 153.7 kB / 369.4 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.1247, allocations: 23.66 kB / 369.4 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.1247, allocations: 29.64 kB / 369.4 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1247, allocations: 0 / 369.4 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1247, allocations: 0 / 369.4 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1247, allocations: 0 / 369.4 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.126, allocations: 0.6396 MB / 370.1 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.126, allocations: 0 / 370.1 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.1261, allocations: 27.97 kB / 370.1 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001976/0.1263, allocations: 60.81 kB / 370.2 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1264, allocations: 0 / 370.2 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1522/0.2786, allocations: 1.475 MB / 371.6 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2786, allocations: 1.844 kB / 371.6 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.2797, allocations: 393.6 kB / 372 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.065e-05/0.2798, allocations: 104.1 kB / 372.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.2798, allocations: 6.609 kB / 372.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.2801, allocations: 34.72 kB / 372.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.751e-05/0.2802, allocations: 19.97 kB / 372.2 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.2803, allocations: 3.344 kB / 372.2 MB, free: 18.81 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002384/0.2805, allocations: 197.6 kB / 372.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.2805, allocations: 0 / 372.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004238/0.2809, allocations: 60.06 kB / 372.4 MB, free: 18.73 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/0.2822, allocations: 0.9215 MB / 373.4 MB, free: 18.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008928/0.2831, allocations: 390.6 kB / 373.7 MB, free: 17.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2831, allocations: 0 / 373.7 MB, free: 17.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004098/0.2835, allocations: 207.6 kB / 373.9 MB, free: 17.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.2839, allocations: 54.28 kB / 374 MB, free: 17.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004683/0.2886, allocations: 3.072 MB / 377.1 MB, free: 16.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.2888, allocations: 0.7442 MB / 377.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.289, allocations: 24.88 kB / 377.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.2891, allocations: 74.7 kB / 377.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2891, allocations: 0 / 377.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.307, allocations: 5.512 MB / 383.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001352/0.3071, allocations: 237.2 kB / 383.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.131, allocations: 1.188 kB / 383.7 MB, free: 14.43 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,opAmp.out.v,opAmp.out.i Variables in the result:Ri,Rl,Vin,Vns,Vps,f,ground.p.i,ground.p.v,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.homotopyType,opAmp.i_s,opAmp.in_n.i,opAmp.in_n.v,opAmp.in_p.i,opAmp.in_p.v,opAmp.out.i,opAmp.out.v,opAmp.p_in,opAmp.p_out,opAmp.p_s,opAmp.strict,opAmp.useSupply,opAmp.v_in,opAmp.v_out,opAmp.vns,opAmp.vps,ri.LossPower,ri.R,ri.R_actual,ri.T,ri.T_heatPort,ri.T_ref,ri.alpha,ri.i,ri.n.i,ri.n.v,ri.p.i,ri.p.v,ri.useHeatPort,ri.v,rl.LossPower,rl.R,rl.R_actual,rl.T,rl.T_heatPort,rl.T_ref,rl.alpha,rl.i,rl.n.i,rl.n.v,rl.p.i,rl.p.v,rl.useHeatPort,rl.v,time,vIn.V,vIn.falling,vIn.i,vIn.n.i,vIn.n.v,vIn.nperiod,vIn.offset,vIn.p.i,vIn.p.v,vIn.period,vIn.rising,vIn.signalSource.amplitude,vIn.signalSource.falling,vIn.signalSource.nperiod,vIn.signalSource.offset,vIn.signalSource.period,vIn.signalSource.rising,vIn.signalSource.startTime,vIn.signalSource.width,vIn.signalSource.y,vIn.startTime,vIn.v,vIn.width,vOut.n.i,vOut.n.v,vOut.p.i,vOut.p.v,vOut.v