Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 106.1 kB / 18.4 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 186.4 kB / 19.33 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 51.92 kB / 329.2 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1094, allocations: 46.61 MB / 375.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.005085/0.1145, allocations: 2.7 MB / 378.5 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.1168, allocations: 0.7135 MB / 379.3 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005049/0.1174, allocations: 7.938 kB / 379.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.1177, allocations: 47.56 kB / 379.3 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.118, allocations: 87.25 kB / 379.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.1184, allocations: 99.81 kB / 379.5 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004704/0.1189, allocations: 346.5 kB / 379.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002781/0.1192, allocations: 88.69 kB / 379.9 MB, free: 448 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.1194, allocations: 131.4 kB / 380 MB, free: 316 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.1197, allocations: 159.3 kB / 380.2 MB, free: 156 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.358e-05/0.1197, allocations: 28 kB / 380.2 MB, free: 128 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.173e-05/0.1198, allocations: 28 kB / 380.3 MB, free: 100 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.355e-05/0.1198, allocations: 59.83 kB / 380.3 MB, free: 40 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3217/0.4415, allocations: 140.2 kB / 380.5 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007243/0.4423, allocations: 323.1 kB / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4423, allocations: 1.625 kB / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4424, allocations: 0 / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.4424, allocations: 0 / 380.8 MB, free: 10.09 MB / 318.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.001488/0.4439, allocations: 0.6368 MB / 381.4 MB, free: 9.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.953e-05/0.444, allocations: 9.625 kB / 381.4 MB, free: 9.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.4441, allocations: 31.69 kB / 381.4 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005426/0.4446, allocations: 279.2 kB / 381.7 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.4447, allocations: 15.62 kB / 381.7 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.739e-05/0.4447, allocations: 21.34 kB / 381.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007827/0.4455, allocations: 246.5 kB / 382 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.4455, allocations: 5.312 kB / 382 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.4456, allocations: 8.562 kB / 382 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.4456, allocations: 5.406 kB / 382 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008702/0.4465, allocations: 253.6 kB / 382.3 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.4485, allocations: 0.8104 MB / 383.1 MB, free: 8.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008239/0.4493, allocations: 273.6 kB / 383.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/0.4497, allocations: 85.11 kB / 383.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.4498, allocations: 3.031 kB / 383.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006126/0.4504, allocations: 167.2 kB / 383.6 MB, free: 8.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 2.074e-06/0.4504, allocations: 0 / 383.6 MB, free: 8.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.002247/0.4527, allocations: 0.53 MB / 384.1 MB, free: 8.633 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.4528, allocations: 105 kB / 384.2 MB, free: 8.508 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004659/0.4532, allocations: 272.1 kB / 384.5 MB, free: 8.395 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.4533, allocations: 30.95 kB / 384.5 MB, free: 8.363 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.4534, allocations: 185.7 kB / 384.7 MB, free: 8.238 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.4535, allocations: 33.06 kB / 384.7 MB, free: 8.219 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.983e-05/0.4536, allocations: 49.28 kB / 384.8 MB, free: 8.199 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4537, allocations: 344.5 kB / 385.1 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/0.4541, allocations: 90.97 kB / 385.2 MB, free: 7.871 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.4545, allocations: 190.9 kB / 385.4 MB, free: 7.746 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007477/0.4552, allocations: 288.8 kB / 385.7 MB, free: 7.605 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.4552, allocations: 1.781 kB / 385.7 MB, free: 7.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001289/0.4565, allocations: 411.5 kB / 386.1 MB, free: 7.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.533e-05/0.4566, allocations: 33.09 kB / 386.1 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.4566, allocations: 2.938 kB / 386.1 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006574/0.4573, allocations: 101.8 kB / 386.2 MB, free: 7.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.4576, allocations: 50.36 kB / 386.3 MB, free: 7.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.4595, allocations: 1.566 MB / 387.8 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.4599, allocations: 49.53 kB / 387.9 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.4599, allocations: 13.22 kB / 387.9 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003516/0.4603, allocations: 171.8 kB / 388.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003336/0.4606, allocations: 174 kB / 388.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006025/0.4612, allocations: 262.6 kB / 388.5 MB, free: 5.746 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.4613, allocations: 1.031 kB / 388.5 MB, free: 5.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.000863/0.4621, allocations: 342.5 kB / 388.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.4622, allocations: 34.7 kB / 388.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4622, allocations: 2.375 kB / 388.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.88e-05/0.4623, allocations: 28.7 kB / 388.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.4625, allocations: 48.11 kB / 388.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000934/0.4635, allocations: 1.553 MB / 390.5 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.4638, allocations: 52.45 kB / 390.5 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.4639, allocations: 8.469 kB / 390.5 MB, free: 4.012 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (23): * Single equations (assignments): 21 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001496/0.464, allocations: 203.8 kB / 390.7 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.4641, allocations: 23.72 kB / 390.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.001e-05/0.4641, allocations: 25.56 kB / 390.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4641, allocations: 2.344 kB / 390.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.4641, allocations: 0 / 390.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4641, allocations: 0.9844 kB / 390.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.4654, allocations: 0.6022 MB / 391.4 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4654, allocations: 4 kB / 391.4 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.4656, allocations: 25.31 kB / 391.4 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001866/0.4658, allocations: 49.16 kB / 391.5 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.4658, allocations: 9.453 kB / 391.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.4673, allocations: 1.544 MB / 393 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4673, allocations: 0 / 393 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008913/0.4682, allocations: 357.8 kB / 393.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/0.4683, allocations: 105 kB / 393.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.4683, allocations: 3.812 kB / 393.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/0.4686, allocations: 35.36 kB / 393.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.4687, allocations: 23.92 kB / 393.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.4687, allocations: 3.734 kB / 393.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.469, allocations: 190.2 kB / 393.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.469, allocations: 0 / 393.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006623/0.4696, allocations: 117.5 kB / 393.8 MB, free: 1.488 MB / 318.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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001708/0.4698, allocations: 105.7 kB / 393.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.4713, allocations: 0.668 MB / 394.6 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4713, allocations: 0 / 394.6 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004272/0.4717, allocations: 213.9 kB / 394.8 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.4722, allocations: 53.59 kB / 394.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.4733, allocations: 464.9 kB / 395.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.4737, allocations: 0.7417 MB / 396.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.281e-05/0.4738, allocations: 24.19 kB / 396.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4738, allocations: 1.594 kB / 396.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of Templates: time 0.009103/0.4829, allocations: 4.21 MB / 400.3 MB, free: 15.16 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches