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.00132/0.00132, allocations: 114.4 kB / 17.73 MB, free: 5.32 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.001437/0.001437, allocations: 187.1 kB / 18.66 MB, free: 4.398 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.741/1.741, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.0012/0.0012, allocations: 47.94 kB / 328.6 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1278, allocations: 46.61 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004245/0.1321, allocations: 2.696 MB / 377.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1337, allocations: 0.7251 MB / 378.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.1339, allocations: 4 kB / 378.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.1341, allocations: 51.52 kB / 378.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.1343, allocations: 87.25 kB / 378.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.1347, allocations: 91.83 kB / 378.8 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004413/0.1352, allocations: 362.4 kB / 379.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/0.1354, allocations: 76.72 kB / 379.2 MB, free: 456 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.1356, allocations: 135.5 kB / 379.4 MB, free: 320 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.1358, allocations: 155.3 kB / 379.5 MB, free: 164 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.1358, allocations: 28 kB / 379.6 MB, free: 136 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.365e-05/0.1359, allocations: 28 kB / 379.6 MB, free: 108 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.189e-05/0.136, allocations: 59.77 kB / 379.6 MB, free: 48 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2915/0.4275, allocations: 142 kB / 379.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006539/0.4282, allocations: 326.6 kB / 380.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.435e-06/0.4283, allocations: 1.312 kB / 380.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.4283, allocations: 0 / 380.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.4283, allocations: 1.375 kB / 380.1 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.001468/0.4298, allocations: 0.6346 MB / 380.7 MB, free: 9.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/0.4298, allocations: 9.344 kB / 380.7 MB, free: 9.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.43, allocations: 31.47 kB / 380.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.4305, allocations: 275 kB / 381 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.4305, allocations: 16.75 kB / 381.1 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.444e-05/0.4306, allocations: 20.31 kB / 381.1 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006912/0.4312, allocations: 246.1 kB / 381.3 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.4313, allocations: 3.938 kB / 381.3 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.4313, allocations: 10.3 kB / 381.3 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.4313, allocations: 5.5 kB / 381.3 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009305/0.4323, allocations: 253.6 kB / 381.6 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.434, allocations: 0.8162 MB / 382.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007698/0.4347, allocations: 267.3 kB / 382.7 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.4351, allocations: 86.77 kB / 382.7 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.09e-05/0.4352, allocations: 2.703 kB / 382.8 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005337/0.4357, allocations: 166 kB / 382.9 MB, free: 8.785 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 2.395e-06/0.4357, allocations: 4.562 kB / 382.9 MB, free: 8.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.002247/0.438, allocations: 0.5219 MB / 383.4 MB, free: 8.629 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/0.4381, allocations: 106 kB / 383.5 MB, free: 8.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/0.4385, allocations: 273.4 kB / 383.8 MB, free: 8.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.4386, allocations: 27.45 kB / 383.8 MB, free: 8.359 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.4388, allocations: 185.8 kB / 384 MB, free: 8.234 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.4388, allocations: 37.67 kB / 384.1 MB, free: 8.215 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.4389, allocations: 52.97 kB / 384.1 MB, free: 8.191 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4391, allocations: 337.6 kB / 384.4 MB, free: 7.875 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.4395, allocations: 95.44 kB / 384.5 MB, free: 7.867 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.44, allocations: 193.7 kB / 384.7 MB, free: 7.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007548/0.4407, allocations: 284.2 kB / 385 MB, free: 7.602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.4407, allocations: 1.641 kB / 385 MB, free: 7.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00136/0.4421, allocations: 417.2 kB / 385.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.014e-05/0.4422, allocations: 34.09 kB / 385.4 MB, free: 7.477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4422, allocations: 2.875 kB / 385.4 MB, free: 7.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005528/0.4428, allocations: 96.83 kB / 385.5 MB, free: 7.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.4431, allocations: 49.41 kB / 385.6 MB, free: 7.465 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.4451, allocations: 1.565 MB / 387.1 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/0.4455, allocations: 49.95 kB / 387.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.4456, allocations: 13.31 kB / 387.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004098/0.446, allocations: 178.8 kB / 387.4 MB, free: 6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003688/0.4464, allocations: 174.2 kB / 387.6 MB, free: 5.879 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006264/0.447, allocations: 265 kB / 387.8 MB, free: 5.738 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.591e-06/0.447, allocations: 5.344 kB / 387.8 MB, free: 5.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0009446/0.448, allocations: 337.9 kB / 388.2 MB, free: 5.641 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.204e-05/0.4481, allocations: 33.69 kB / 388.2 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.4481, allocations: 4.516 kB / 388.2 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001217/0.4482, allocations: 24.33 kB / 388.2 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.4485, allocations: 52.94 kB / 388.3 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.4497, allocations: 1.548 MB / 389.8 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003841/0.4501, allocations: 49.17 kB / 389.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.4501, allocations: 14.94 kB / 389.9 MB, free: 4.047 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.0001816/0.4503, allocations: 197.8 kB / 390.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/0.4503, allocations: 23.03 kB / 390.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.218e-05/0.4504, allocations: 21.98 kB / 390.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.4504, allocations: 2.906 kB / 390.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4504, allocations: 0 / 390.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-06/0.4504, allocations: 0.6562 kB / 390.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.4517, allocations: 0.6056 MB / 390.7 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4517, allocations: 4 kB / 390.7 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.4518, allocations: 26.41 kB / 390.7 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000219/0.4521, allocations: 47.16 kB / 390.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.4521, allocations: 7.125 kB / 390.8 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.4537, allocations: 1.547 MB / 392.3 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4537, allocations: 0 / 392.3 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000953/0.4546, allocations: 360.2 kB / 392.7 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-05/0.4547, allocations: 104 kB / 392.8 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.4548, allocations: 2.672 kB / 392.8 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.4551, allocations: 34.27 kB / 392.8 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.4552, allocations: 23.27 kB / 392.9 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.4552, allocations: 2.688 kB / 392.9 MB, free: 1.668 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002674/0.4555, allocations: 194.2 kB / 393.1 MB, free: 1.555 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4555, allocations: 0 / 393.1 MB, free: 1.555 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008098/0.4563, allocations: 114.4 kB / 393.2 MB, free: 1.535 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.0001679/0.4565, allocations: 108.2 kB / 393.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001521/0.458, allocations: 0.6667 MB / 393.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.458, allocations: 0 / 393.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004257/0.4584, allocations: 210 kB / 394.1 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.4589, allocations: 51.61 kB / 394.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.4602, allocations: 434.4 kB / 394.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.4606, allocations: 0.7413 MB / 395.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001627/0.4607, allocations: 34.39 kB / 395.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.247e-05/0.4608, allocations: 23.59 kB / 395.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4608, allocations: 0 / 395.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of Templates: time 0.01085/0.4717, allocations: 3.89 MB / 399.3 MB, free: 15.5 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins/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