Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009059/0.0009059, allocations: 80.41 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009778/0.0009778, allocations: 168 kB / 25.61 MB, free: 8.539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9045/0.9045, allocations: 177.1 MB / 206 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 3.938 kB / 274.2 MB, free: 4.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.09e-05, allocations: 2.312 kB / 274.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004416/0.004447, allocations: 2.737 MB / 277 MB, free: 1.637 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.005887, allocations: 0.6864 MB / 277.7 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.006034, allocations: 7.938 kB / 277.7 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.006184, allocations: 39.58 kB / 277.7 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.006393, allocations: 97.16 kB / 277.8 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.006688, allocations: 95.8 kB / 277.9 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004239/0.007112, allocations: 358.4 kB / 278.2 MB, free: 372 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.007282, allocations: 57.39 kB / 278.3 MB, free: 312 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.007564, allocations: 192.2 kB / 278.5 MB, free: 120 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.007749, allocations: 115.6 kB / 278.6 MB, free: 4 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.537e-05/0.007824, allocations: 36.05 kB / 278.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.638e-05/0.007871, allocations: 28 kB / 278.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.193e-05/0.007932, allocations: 63.7 kB / 278.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.008052, allocations: 103.7 kB / 278.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.008368, allocations: 211.3 kB / 279 MB, free: 15.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.008372, allocations: 0 / 279 MB, free: 15.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.008373, allocations: 4 kB / 279 MB, free: 15.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.00838, allocations: 0 / 279 MB, free: 15.57 MB / 266.7 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.00124/0.00962, allocations: 0.6467 MB / 279.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.009657, allocations: 16.02 kB / 279.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.496e-05/0.009752, allocations: 48.75 kB / 279.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.01005, allocations: 212 kB / 280 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.01008, allocations: 20.86 kB / 280 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/0.01012, allocations: 24.38 kB / 280 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.01056, allocations: 261 kB / 280.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.01057, allocations: 192 / 280.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.0106, allocations: 8.375 kB / 280.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.01061, allocations: 7.938 kB / 280.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.01077, allocations: 71.38 kB / 280.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.01207, allocations: 0.8437 MB / 281.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/0.0127, allocations: 171 kB / 281.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.533e-05/0.01276, allocations: 35.59 kB / 281.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.01278, allocations: 4 kB / 281.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.01298, allocations: 159.5 kB / 281.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.01299, allocations: 4 kB / 281.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.000791/0.01378, allocations: 249.2 kB / 281.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.01383, allocations: 102.8 kB / 281.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.01407, allocations: 296.1 kB / 282.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.0141, allocations: 29.7 kB / 282.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.01425, allocations: 238.6 kB / 282.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.01428, allocations: 39.72 kB / 282.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.251e-05/0.01437, allocations: 55.3 kB / 282.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.01452, allocations: 0.5001 MB / 283 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.328e-05/0.01461, allocations: 53.69 kB / 283.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.01478, allocations: 248 kB / 283.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.01501, allocations: 233 kB / 283.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.01502, allocations: 0 / 283.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005283/0.01555, allocations: 287.9 kB / 283.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/0.01559, allocations: 37.7 kB / 283.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.0156, allocations: 4 kB / 283.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/0.01583, allocations: 47.72 kB / 283.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.016, allocations: 51.91 kB / 284 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.0172, allocations: 1.764 MB / 285.7 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.01735, allocations: 43.8 kB / 285.8 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.01736, allocations: 8 kB / 285.8 MB, free: 8.215 MB / 266.7 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 9.065e-05/0.01745, allocations: 172.5 kB / 286 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.01748, allocations: 23.86 kB / 286 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.0175, allocations: 25.77 kB / 286 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.0175, allocations: 0 / 286 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.0175, allocations: 4 kB / 286 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.01751, allocations: 3.938 kB / 286 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.01788, allocations: 429.4 kB / 286.4 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.01788, allocations: 3.938 kB / 286.4 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.338e-05/0.01793, allocations: 19.98 kB / 286.5 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.01804, allocations: 43.66 kB / 286.5 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.01805, allocations: 11.94 kB / 286.5 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006961/0.01875, allocations: 1.729 MB / 288.2 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01875, allocations: 0 / 288.2 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.01898, allocations: 299.3 kB / 288.5 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.019, allocations: 15.91 kB / 288.5 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.01902, allocations: 8 kB / 288.6 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.987e-05/0.01912, allocations: 28.03 kB / 288.6 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.01916, allocations: 15.97 kB / 288.6 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.01917, allocations: 4 kB / 288.6 MB, free: 5.207 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.168e-05/0.01925, allocations: 193.1 kB / 288.8 MB, free: 5.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01925, allocations: 0 / 288.8 MB, free: 5.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002214/0.01947, allocations: 71.83 kB / 288.9 MB, free: 4.949 MB / 266.7 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.0001032/0.01957, allocations: 107.2 kB / 289 MB, free: 4.836 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002769/0.01985, allocations: 362.1 kB / 289.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01985, allocations: 0 / 289.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.01996, allocations: 201.5 kB / 289.5 MB, free: 4.227 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.0202, allocations: 43.62 kB / 289.6 MB, free: 4.188 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006202/0.02082, allocations: 410.8 kB / 290 MB, free: 3.754 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.393e-05/0.02087, allocations: 80.31 kB / 290 MB, free: 3.656 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.813e-05/0.02094, allocations: 21.95 kB / 290.1 MB, free: 3.637 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.02106, allocations: 118.2 kB / 290.2 MB, free: 3.52 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02106, allocations: 0 / 290.2 MB, free: 3.52 MB / 266.7 MB Notification: Performance of Templates: time 0.005501/0.02656, allocations: 3.951 MB / 294.1 MB, free: 15.64 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.751163669861853]