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.001878/0.001878, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002422/0.002422, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 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 1.595/1.595, allocations: 230.6 MB / 258.2 MB, free: 7.801 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+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 0.001749/0.001749, allocations: 51.92 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3352, allocations: 53.36 MB / 432.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004323/0.3395, allocations: 2.595 MB / 435 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.341, allocations: 0.674 MB / 435.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.3411, allocations: 7.938 kB / 435.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.3413, allocations: 47.5 kB / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.3415, allocations: 91.25 kB / 435.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.3418, allocations: 91.83 kB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004532/0.3423, allocations: 354.5 kB / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.3425, allocations: 68.55 kB / 436.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.3426, allocations: 127.6 kB / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.3428, allocations: 155.3 kB / 436.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.516e-05/0.3429, allocations: 28 kB / 436.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.93e-05/0.343, allocations: 32 kB / 436.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.898e-05/0.343, allocations: 63.7 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.3432, allocations: 111.5 kB / 436.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004111/0.3436, allocations: 325.7 kB / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3436, allocations: 0 / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3436, allocations: 4 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3436, allocations: 3.938 kB / 437.1 MB, free: 1.91 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.001309/0.3449, allocations: 0.5702 MB / 437.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.345, allocations: 12.03 kB / 437.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.401e-05/0.345, allocations: 28.75 kB / 437.7 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.3455, allocations: 221.8 kB / 437.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.3455, allocations: 12.81 kB / 437.9 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.3455, allocations: 20.38 kB / 438 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007175/0.3462, allocations: 333.5 kB / 438.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3463, allocations: 3.938 kB / 438.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.3463, allocations: 4 kB / 438.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.3463, allocations: 8 kB / 438.3 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007421/0.347, allocations: 245.6 kB / 438.5 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.3485, allocations: 0.767 MB / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.35, allocations: 362.2 kB / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.3503, allocations: 88.78 kB / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.3504, allocations: 0 / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004937/0.3509, allocations: 225.2 kB / 440 MB, free: 14.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.3509, allocations: 0 / 440 MB, free: 14.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002089/0.3529, allocations: 0.5057 MB / 440.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.653e-05/0.353, allocations: 102.8 kB / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.3534, allocations: 261.8 kB / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.3534, allocations: 33.7 kB / 440.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.3536, allocations: 191.9 kB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.3536, allocations: 35.69 kB / 441.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3537, allocations: 49.7 kB / 441.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.3539, allocations: 330.8 kB / 441.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.3543, allocations: 121.6 kB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/0.3547, allocations: 282.6 kB / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007254/0.3555, allocations: 309 kB / 442.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3555, allocations: 0 / 442.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001208/0.3567, allocations: 465.6 kB / 442.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/0.3567, allocations: 29.7 kB / 442.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3567, allocations: 4 kB / 442.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003357/0.3571, allocations: 60.88 kB / 442.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.3573, allocations: 55.89 kB / 442.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.3597, allocations: 1.483 MB / 444.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.36, allocations: 51.8 kB / 444.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.36, allocations: 16 kB / 444.3 MB, free: 10.2 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.0001938/0.3602, allocations: 137.7 kB / 444.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.3603, allocations: 19.91 kB / 444.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.3603, allocations: 25.64 kB / 444.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3603, allocations: 11.94 kB / 444.5 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.3603, allocations: 0 / 444.5 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3603, allocations: 0 / 444.5 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.3617, allocations: 0.5576 MB / 445.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3617, allocations: 0 / 445.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.3618, allocations: 27.91 kB / 445.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002224/0.3621, allocations: 60.81 kB / 445.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.3621, allocations: 4 kB / 445.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.3642, allocations: 1.471 MB / 446.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.3642, allocations: 3.938 kB / 446.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.3653, allocations: 396.1 kB / 447 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.3653, allocations: 27.78 kB / 447 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.3653, allocations: 11.94 kB / 447 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.3656, allocations: 31.97 kB / 447.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-05/0.3657, allocations: 15.97 kB / 447.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.3657, allocations: 4 kB / 447.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002157/0.3659, allocations: 185.2 kB / 447.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3659, allocations: 0 / 447.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003876/0.3663, allocations: 63.89 kB / 447.3 MB, free: 6.992 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.0001592/0.3665, allocations: 103.2 kB / 447.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.3675, allocations: 415.8 kB / 447.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3675, allocations: 0 / 447.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004381/0.368, allocations: 202.6 kB / 448 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.3684, allocations: 43.45 kB / 448.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.3695, allocations: 450.1 kB / 448.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.3696, allocations: 138.1 kB / 448.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.895e-05/0.3697, allocations: 21.95 kB / 448.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.639e-05/0.3698, allocations: 23.42 kB / 448.7 MB, free: 5.527 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3698, allocations: 0 / 448.7 MB, free: 5.527 MB / 350.1 MB Notification: Performance of Templates: time 0.008977/0.3788, allocations: 3.901 MB / 452.6 MB, free: 1.688 MB / 350.1 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.260478563999641]