Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 153.1 kB / 24.26 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 173.4 MB / 200.8 MB, free: 9.277 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 267.4 MB, free: 6.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.571e-05/3.746e-05, allocations: 6.312 kB / 267.4 MB, free: 6.648 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.00492/0.004958, allocations: 2.577 MB / 269.9 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.006326, allocations: 0.6428 MB / 270.6 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.006461, allocations: 7.938 kB / 270.6 MB, free: 3.398 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.006639, allocations: 47.56 kB / 270.6 MB, free: 3.352 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.006874, allocations: 95.19 kB / 270.7 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.00719, allocations: 107.7 kB / 270.8 MB, free: 3.152 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00046/0.00765, allocations: 358.4 kB / 271.2 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.007839, allocations: 56.88 kB / 271.2 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002947/0.008134, allocations: 195.5 kB / 271.4 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.008332, allocations: 111.7 kB / 271.5 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.16e-05/0.008394, allocations: 28 kB / 271.6 MB, free: 2.414 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.818e-05/0.008452, allocations: 32 kB / 271.6 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.008537, allocations: 63.75 kB / 271.7 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.008694, allocations: 103.7 kB / 271.8 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004802/0.009174, allocations: 334.9 kB / 272.1 MB, free: 1.891 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.00918, allocations: 0 / 272.1 MB, free: 1.891 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.009181, allocations: 0 / 272.1 MB, free: 1.891 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.009188, allocations: 0 / 272.1 MB, free: 1.891 MB / 250.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.001365/0.01055, allocations: 0.5586 MB / 272.6 MB, free: 1.297 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.0106, allocations: 16.91 kB / 272.7 MB, free: 1.281 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.01072, allocations: 44.75 kB / 272.7 MB, free: 1.238 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.01115, allocations: 221 kB / 272.9 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.01118, allocations: 16.88 kB / 272.9 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.01123, allocations: 28.38 kB / 273 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007316/0.01196, allocations: 318.7 kB / 273.3 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.01197, allocations: 192 / 273.3 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.012, allocations: 12.38 kB / 273.3 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.01201, allocations: 7.938 kB / 273.3 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007836/0.01279, allocations: 249.8 kB / 273.5 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.01472, allocations: 0.7716 MB / 274.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.0163, allocations: 362.3 kB / 274.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003358/0.01663, allocations: 80.8 kB / 274.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.01666, allocations: 7.984 kB / 274.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000506/0.01717, allocations: 213.3 kB / 275 MB, free: 14.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.01717, allocations: 3.938 kB / 275 MB, free: 14.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.002146/0.01931, allocations: 0.5096 MB / 275.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.083e-05/0.0194, allocations: 106.8 kB / 275.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.01976, allocations: 261.8 kB / 275.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.01979, allocations: 29.7 kB / 275.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.01997, allocations: 195.9 kB / 276.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.02, allocations: 27.75 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.02011, allocations: 57.66 kB / 276.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.0203, allocations: 330.8 kB / 276.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003954/0.0207, allocations: 117.6 kB / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005182/0.02122, allocations: 282.7 kB / 276.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007833/0.022, allocations: 305.5 kB / 277.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.022, allocations: 0 / 277.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001335/0.02334, allocations: 473.5 kB / 277.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.959e-05/0.02339, allocations: 37.7 kB / 277.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.0234, allocations: 4 kB / 277.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005663/0.02396, allocations: 104.8 kB / 277.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.0242, allocations: 51.91 kB / 277.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/0.02666, allocations: 1.494 MB / 279.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.02701, allocations: 47.8 kB / 279.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.02704, allocations: 15.98 kB / 279.4 MB, free: 10.1 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 0.0001747/0.02722, allocations: 149.4 kB / 279.5 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.02727, allocations: 23.86 kB / 279.5 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.02732, allocations: 25.77 kB / 279.6 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.02732, allocations: 0 / 279.6 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.02732, allocations: 3.938 kB / 279.6 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.02732, allocations: 0 / 279.6 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.02873, allocations: 0.5533 MB / 280.1 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.02873, allocations: 4 kB / 280.1 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.02888, allocations: 31.91 kB / 280.2 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004366/0.02932, allocations: 96.77 kB / 280.2 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.02935, allocations: 4 kB / 280.3 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/0.03184, allocations: 1.467 MB / 281.7 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.03184, allocations: 3.938 kB / 281.7 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.03293, allocations: 396.1 kB / 282.1 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.03297, allocations: 15.86 kB / 282.1 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.033, allocations: 8 kB / 282.1 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.0333, allocations: 31.95 kB / 282.2 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.03338, allocations: 23.89 kB / 282.2 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.03339, allocations: 4 kB / 282.2 MB, free: 7.105 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002106/0.0336, allocations: 181.2 kB / 282.4 MB, free: 6.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0336, allocations: 0 / 282.4 MB, free: 6.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003815/0.03399, allocations: 67.89 kB / 282.4 MB, free: 6.863 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.0001583/0.03414, allocations: 111.2 kB / 282.5 MB, free: 6.742 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.0352, allocations: 415.2 kB / 282.9 MB, free: 6.305 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.0352, allocations: 0 / 282.9 MB, free: 6.305 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004621/0.03567, allocations: 203.5 kB / 283.1 MB, free: 6.094 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.03607, allocations: 45.23 kB / 283.2 MB, free: 6.051 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.0371, allocations: 440.7 kB / 283.6 MB, free: 5.594 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.03727, allocations: 134.2 kB / 283.8 MB, free: 5.441 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.03737, allocations: 21.94 kB / 283.8 MB, free: 5.418 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.979e-05/0.03744, allocations: 24.5 kB / 283.8 MB, free: 5.391 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.03744, allocations: 4 kB / 283.8 MB, free: 5.387 MB / 266.7 MB Notification: Performance of Templates: time 0.008365/0.04581, allocations: 3.576 MB / 287.4 MB, free: 1.867 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.598407573997974]