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.001072/0.001072, allocations: 110.5 kB / 17.73 MB, free: 5.324 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.001184/0.001184, allocations: 187 kB / 18.66 MB, free: 4.395 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.705/1.705, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001283/0.001283, allocations: 55.91 kB / 328.6 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1075, allocations: 46.61 MB / 375.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004077/0.1117, allocations: 2.696 MB / 377.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1129, allocations: 0.7251 MB / 378.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.1131, allocations: 4 kB / 378.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.1133, allocations: 39.58 kB / 378.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.1135, allocations: 99.25 kB / 378.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.1138, allocations: 95.81 kB / 378.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.1141, allocations: 354.5 kB / 379.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.1144, allocations: 80.7 kB / 379.3 MB, free: 452 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.1145, allocations: 139.5 kB / 379.4 MB, free: 312 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.1147, allocations: 147.3 kB / 379.5 MB, free: 164 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.1148, allocations: 28 kB / 379.6 MB, free: 136 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.434e-05/0.1148, allocations: 32 kB / 379.6 MB, free: 104 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.781e-05/0.1149, allocations: 63.75 kB / 379.7 MB, free: 40 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2469/0.3619, allocations: 135.3 kB / 379.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005218/0.3625, allocations: 327.5 kB / 380.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3625, allocations: 1.375 kB / 380.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3625, allocations: 0 / 380.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.3625, allocations: 0 / 380.1 MB, free: 10.11 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.001205/0.3637, allocations: 0.6353 MB / 380.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3638, allocations: 9.344 kB / 380.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.018e-05/0.3638, allocations: 31.69 kB / 380.8 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.3642, allocations: 278.8 kB / 381.1 MB, free: 9.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.3643, allocations: 15.03 kB / 381.1 MB, free: 9.414 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.3643, allocations: 22.31 kB / 381.1 MB, free: 9.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006223/0.3649, allocations: 246.9 kB / 381.3 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.365, allocations: 4.969 kB / 381.3 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.365, allocations: 9.359 kB / 381.3 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.365, allocations: 9.25 kB / 381.4 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007664/0.3658, allocations: 255.3 kB / 381.6 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.3674, allocations: 0.8067 MB / 382.4 MB, free: 9.008 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/0.3681, allocations: 274.1 kB / 382.7 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/0.3684, allocations: 86.69 kB / 382.8 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.3685, allocations: 2.219 kB / 382.8 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004764/0.369, allocations: 165.4 kB / 382.9 MB, free: 8.805 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.369, allocations: 6.531 kB / 382.9 MB, free: 8.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001995/0.371, allocations: 0.5224 MB / 383.5 MB, free: 8.648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.371, allocations: 107.2 kB / 383.6 MB, free: 8.523 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.3714, allocations: 272.8 kB / 383.8 MB, free: 8.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.3714, allocations: 31.77 kB / 383.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3716, allocations: 181.4 kB / 384 MB, free: 8.254 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.3716, allocations: 34.41 kB / 384.1 MB, free: 8.234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.3717, allocations: 54.08 kB / 384.1 MB, free: 8.211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3719, allocations: 335.3 kB / 384.4 MB, free: 7.895 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.3722, allocations: 94.64 kB / 384.5 MB, free: 7.887 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.3726, allocations: 193.3 kB / 384.7 MB, free: 7.762 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000646/0.3732, allocations: 280.5 kB / 385 MB, free: 7.621 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3733, allocations: 1.219 kB / 385 MB, free: 7.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001157/0.3744, allocations: 413.8 kB / 385.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/0.3745, allocations: 37.06 kB / 385.4 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.3745, allocations: 3.656 kB / 385.4 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004884/0.375, allocations: 96.98 kB / 385.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.3753, allocations: 52.72 kB / 385.6 MB, free: 7.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.3769, allocations: 1.561 MB / 387.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.3773, allocations: 48.81 kB / 387.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.3773, allocations: 14.95 kB / 387.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003384/0.3776, allocations: 179.2 kB / 387.4 MB, free: 6.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003324/0.378, allocations: 174.3 kB / 387.6 MB, free: 5.902 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005554/0.3785, allocations: 262.8 kB / 387.8 MB, free: 5.762 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.066e-06/0.3786, allocations: 5.125 kB / 387.8 MB, free: 5.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.000838/0.3794, allocations: 339 kB / 388.2 MB, free: 5.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.3795, allocations: 34.27 kB / 388.2 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.3795, allocations: 7.562 kB / 388.2 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.418e-05/0.3796, allocations: 26.41 kB / 388.2 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.3798, allocations: 47.42 kB / 388.3 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.381, allocations: 1.55 MB / 389.8 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.3813, allocations: 48.27 kB / 389.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.3814, allocations: 9.438 kB / 389.9 MB, free: 4.035 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.0001936/0.3816, allocations: 206.7 kB / 390.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.593e-05/0.3816, allocations: 22.81 kB / 390.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.146e-05/0.3817, allocations: 22.61 kB / 390.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3817, allocations: 1.031 kB / 390.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3817, allocations: 1.844 kB / 390.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3817, allocations: 4.797 kB / 390.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.3832, allocations: 0.6009 MB / 390.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3832, allocations: 4.656 kB / 390.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.3834, allocations: 25.19 kB / 390.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/0.3836, allocations: 43.05 kB / 390.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.3836, allocations: 13.44 kB / 390.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.3853, allocations: 1.547 MB / 392.4 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3853, allocations: 2.516 kB / 392.4 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008904/0.3862, allocations: 356.7 kB / 392.7 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.644e-05/0.3863, allocations: 105.2 kB / 392.8 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.3864, allocations: 1.859 kB / 392.8 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.3866, allocations: 31.14 kB / 392.8 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.3867, allocations: 25.45 kB / 392.9 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.3868, allocations: 3.641 kB / 392.9 MB, free: 1.652 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002373/0.387, allocations: 189.8 kB / 393.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.387, allocations: 4.438 kB / 393.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005945/0.3876, allocations: 112.8 kB / 393.2 MB, free: 1.523 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.0001582/0.3878, allocations: 109.5 kB / 393.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.3891, allocations: 0.6608 MB / 393.9 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3892, allocations: 0 / 393.9 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004111/0.3896, allocations: 226.5 kB / 394.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.39, allocations: 50.19 kB / 394.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.3911, allocations: 433.6 kB / 394.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.3915, allocations: 0.7489 MB / 395.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000141/0.3916, allocations: 25.59 kB / 395.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.926e-05/0.3917, allocations: 20.03 kB / 395.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3917, allocations: 0 / 395.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Templates: time 0.009806/0.4015, allocations: 3.898 MB / 399.3 MB, free: 15.49 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