Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001993/0.001993, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002662/0.002662, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.596/1.596, allocations: 230.6 MB / 258.3 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003024/0.003024, allocations: 64.77 kB / 379.1 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3283, allocations: 53.36 MB / 432.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004564/0.3329, allocations: 2.8 MB / 435.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.3344, allocations: 0.7128 MB / 435.9 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.3345, allocations: 4 kB / 435.9 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.3347, allocations: 47.56 kB / 436 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.3349, allocations: 87.25 kB / 436.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.3352, allocations: 103.8 kB / 436.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.3356, allocations: 350.5 kB / 436.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.3358, allocations: 60.89 kB / 436.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.336, allocations: 131.5 kB / 436.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.3363, allocations: 147.4 kB / 436.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.3363, allocations: 32 kB / 436.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.291e-05/0.3364, allocations: 28 kB / 436.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.732e-05/0.3364, allocations: 63.7 kB / 437 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.3366, allocations: 143.3 kB / 437.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004569/0.3371, allocations: 328.3 kB / 437.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3371, allocations: 0 / 437.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3371, allocations: 0 / 437.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.3371, allocations: 0 / 437.4 MB, free: 1.93 MB / 334.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.001335/0.3384, allocations: 0.5687 MB / 438 MB, free: 1.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3385, allocations: 8.031 kB / 438 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.986e-05/0.3386, allocations: 36.73 kB / 438 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.339, allocations: 217.8 kB / 438.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.339, allocations: 12.81 kB / 438.3 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.3391, allocations: 32.31 kB / 438.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006741/0.3398, allocations: 278 kB / 438.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3398, allocations: 0 / 438.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.3398, allocations: 8 kB / 438.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.3398, allocations: 4 kB / 438.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007578/0.3406, allocations: 245.6 kB / 438.8 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.3423, allocations: 0.8718 MB / 439.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.3438, allocations: 354.3 kB / 440 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.3441, allocations: 92.72 kB / 440.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.3441, allocations: 4 kB / 440.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000474/0.3446, allocations: 165.8 kB / 440.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.475e-06/0.3446, allocations: 0 / 440.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002008/0.3466, allocations: 0.4979 MB / 440.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/0.3467, allocations: 110.8 kB / 440.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.347, allocations: 265.9 kB / 441.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.3471, allocations: 29.7 kB / 441.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.3472, allocations: 191.9 kB / 441.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.3472, allocations: 43.73 kB / 441.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.021e-05/0.3473, allocations: 45.7 kB / 441.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3475, allocations: 334.8 kB / 441.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/0.3478, allocations: 91.92 kB / 441.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/0.3482, allocations: 205.6 kB / 442.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007127/0.3489, allocations: 297.5 kB / 442.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.349, allocations: 0 / 442.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001181/0.3501, allocations: 435.8 kB / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.3502, allocations: 30.08 kB / 442.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3502, allocations: 4 kB / 442.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003243/0.3505, allocations: 64.88 kB / 442.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.3507, allocations: 55.89 kB / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.353, allocations: 1.506 MB / 444.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.3534, allocations: 59.84 kB / 444.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.3534, allocations: 11.98 kB / 444.5 MB, free: 10.36 MB / 350.1 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.0001783/0.3536, allocations: 143.3 kB / 444.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.3536, allocations: 27.8 kB / 444.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.766e-05/0.3537, allocations: 21.7 kB / 444.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3537, allocations: 0 / 444.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3537, allocations: 8 kB / 444.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3537, allocations: 0 / 444.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.355, allocations: 0.6112 MB / 445.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.355, allocations: 4 kB / 445.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.3552, allocations: 31.91 kB / 445.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002274/0.3554, allocations: 56.81 kB / 445.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3554, allocations: 4 kB / 445.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.3574, allocations: 1.494 MB / 446.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3574, allocations: 4.094 kB / 446.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009813/0.3584, allocations: 392 kB / 447.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.3584, allocations: 27.86 kB / 447.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.3585, allocations: 4 kB / 447.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.3587, allocations: 35.95 kB / 447.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.3588, allocations: 16.16 kB / 447.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3588, allocations: 8 kB / 447.4 MB, free: 7.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000216/0.359, allocations: 197.1 kB / 447.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.359, allocations: 0 / 447.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003874/0.3594, allocations: 63.89 kB / 447.7 MB, free: 7.031 MB / 350.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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001542/0.3596, allocations: 111.2 kB / 447.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009674/0.3605, allocations: 377.9 kB / 448.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3605, allocations: 0 / 448.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.361, allocations: 207.2 kB / 448.3 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.3614, allocations: 51.78 kB / 448.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.3624, allocations: 444.1 kB / 448.8 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.3628, allocations: 0.7479 MB / 449.6 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.3629, allocations: 18.3 kB / 449.6 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/0.363, allocations: 27.42 kB / 449.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.363, allocations: 0 / 449.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of Templates: time 0.00857/0.3716, allocations: 3.711 MB / 453.3 MB, free: 1.301 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.997906854376197]