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.001339/0.001339, allocations: 77.59 kB / 20.67 MB, free: 1.027 MB / 14.72 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.00144/0.00144, allocations: 147.1 kB / 23.94 MB, free: 4.168 MB / 14.72 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.459/1.459, allocations: 173.4 MB / 200.4 MB, free: 12.89 MB / 190.1 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.663e-06/1.663e-06, allocations: 0 / 319 MB, free: 3.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/2.895e-05, allocations: 2.281 kB / 319 MB, free: 3.527 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.00408/0.004108, allocations: 2.564 MB / 321.5 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.005579, allocations: 0.6489 MB / 322.2 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003306/0.00591, allocations: 3.656 kB / 322.2 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.006109, allocations: 40.06 kB / 322.2 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.00646, allocations: 102.4 kB / 322.3 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.006854, allocations: 92.83 kB / 322.4 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005685/0.007422, allocations: 363.4 kB / 322.8 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.007635, allocations: 61.39 kB / 322.8 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003615/0.007997, allocations: 193.5 kB / 323 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.008185, allocations: 106.5 kB / 323.1 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.286e-05/0.008248, allocations: 29.62 kB / 323.1 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.243e-05/0.00831, allocations: 32.88 kB / 323.2 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.008377, allocations: 66.44 kB / 323.2 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.008513, allocations: 102.7 kB / 323.3 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004662/0.008979, allocations: 334 kB / 323.7 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.008983, allocations: 1.375 kB / 323.7 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.008984, allocations: 0 / 323.7 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.008991, allocations: 0 / 323.7 MB, free: 0.6172 MB / 286.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.001283/0.01027, allocations: 0.5587 MB / 324.2 MB, free: 200 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.01032, allocations: 17.55 kB / 324.2 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.989e-05/0.01041, allocations: 31.94 kB / 324.3 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003932/0.0108, allocations: 216.9 kB / 324.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.01083, allocations: 13.31 kB / 324.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.01087, allocations: 22.16 kB / 324.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007918/0.01166, allocations: 325.5 kB / 324.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.01168, allocations: 4.188 kB / 324.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.01171, allocations: 8.031 kB / 324.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.01172, allocations: 7.25 kB / 324.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008513/0.01257, allocations: 248.3 kB / 325.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.01432, allocations: 0.7651 MB / 325.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.01601, allocations: 365.9 kB / 326.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003761/0.01639, allocations: 88.78 kB / 326.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.01641, allocations: 1.062 kB / 326.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005832/0.01699, allocations: 216.1 kB / 326.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.01699, allocations: 5.188 kB / 326.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002319/0.01931, allocations: 0.4964 MB / 327 MB, free: 14.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.552e-05/0.01941, allocations: 114.9 kB / 327.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004588/0.01987, allocations: 260.7 kB / 327.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.01991, allocations: 31.69 kB / 327.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.02016, allocations: 191.2 kB / 327.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.548e-05/0.02022, allocations: 40.17 kB / 327.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.02036, allocations: 47.84 kB / 327.7 MB, free: 14.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.02059, allocations: 333.5 kB / 328 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004676/0.02106, allocations: 123.9 kB / 328.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006503/0.02171, allocations: 279.2 kB / 328.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009403/0.02265, allocations: 299.3 kB / 328.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.02265, allocations: 1.062 kB / 328.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001547/0.0242, allocations: 470.2 kB / 329.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/0.02426, allocations: 41.02 kB / 329.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.02427, allocations: 3.469 kB / 329.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003844/0.02466, allocations: 56.16 kB / 329.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.02492, allocations: 58.58 kB / 329.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003022/0.02794, allocations: 1.479 MB / 330.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/0.02836, allocations: 48.42 kB / 330.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.0284, allocations: 17.5 kB / 330.9 MB, free: 11.86 MB / 302.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.000239/0.02864, allocations: 140.2 kB / 331 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/0.0287, allocations: 22.14 kB / 331 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.49e-05/0.02876, allocations: 26.22 kB / 331.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.02877, allocations: 6.047 kB / 331.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.02878, allocations: 4.781 kB / 331.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.02878, allocations: 4 kB / 331.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.03041, allocations: 0.5523 MB / 331.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.03041, allocations: 0 / 331.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.03057, allocations: 32.39 kB / 331.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002594/0.03083, allocations: 63.45 kB / 331.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.03085, allocations: 2.469 kB / 331.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002374/0.03323, allocations: 1.465 MB / 333.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.03323, allocations: 3.938 kB / 333.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.03436, allocations: 393.8 kB / 333.6 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.0345, allocations: 25.44 kB / 333.6 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.03454, allocations: 2.156 kB / 333.6 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.03485, allocations: 39.2 kB / 333.6 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.305e-05/0.03494, allocations: 18.58 kB / 333.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.03496, allocations: 5.328 kB / 333.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002171/0.03518, allocations: 183.5 kB / 333.8 MB, free: 9.656 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.03518, allocations: 0 / 333.8 MB, free: 9.656 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004172/0.03559, allocations: 64.7 kB / 333.9 MB, free: 9.645 MB / 302.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.0001731/0.03577, allocations: 99.84 kB / 334 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.03692, allocations: 419.4 kB / 334.4 MB, free: 9.238 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.03692, allocations: 192 / 334.4 MB, free: 9.238 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004945/0.03742, allocations: 208.6 kB / 334.6 MB, free: 9.078 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.03783, allocations: 30.06 kB / 334.6 MB, free: 9.066 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.039, allocations: 439.9 kB / 335.1 MB, free: 8.758 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.03923, allocations: 135 kB / 335.2 MB, free: 8.648 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.03934, allocations: 25.44 kB / 335.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.61e-05/0.03941, allocations: 21.41 kB / 335.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.03941, allocations: 0 / 335.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of Templates: time 0.00949/0.0489, allocations: 3.558 MB / 338.8 MB, free: 6.828 MB / 302.1 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.397741839289665]