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.001254/0.001254, allocations: 103.5 kB / 20.43 MB, free: 1.199 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.001441/0.001441, allocations: 194.2 kB / 23.71 MB, free: 4.426 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.567/1.567, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.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 0.001857/0.001857, allocations: 51.92 kB / 370.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.355, allocations: 52.18 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.005506/0.3606, allocations: 2.57 MB / 425.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.3622, allocations: 0.6582 MB / 426.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.3624, allocations: 4 kB / 426.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.3626, allocations: 35.58 kB / 426.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.3628, allocations: 95.25 kB / 426.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.3631, allocations: 95.83 kB / 426.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004868/0.3636, allocations: 350.6 kB / 426.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.3638, allocations: 63.44 kB / 427 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.364, allocations: 135.5 kB / 427.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.3643, allocations: 131.3 kB / 427.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.3643, allocations: 28 kB / 427.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.71e-05/0.3644, allocations: 28 kB / 427.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.512e-05/0.3645, allocations: 63.77 kB / 427.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.3646, allocations: 115.5 kB / 427.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.3651, allocations: 330.4 kB / 427.8 MB, free: 9.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3651, allocations: 7.938 kB / 427.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3651, allocations: 0 / 427.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3651, allocations: 0 / 427.8 MB, free: 9.801 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.001377/0.3665, allocations: 0.5663 MB / 428.3 MB, free: 9.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.3665, allocations: 8.031 kB / 428.3 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.038e-05/0.3666, allocations: 32.75 kB / 428.4 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.3671, allocations: 210 kB / 428.6 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.3671, allocations: 20.75 kB / 428.6 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.3671, allocations: 20.38 kB / 428.6 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007012/0.3678, allocations: 345.4 kB / 429 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3678, allocations: 0 / 429 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.155e-05/0.3679, allocations: 8 kB / 429 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.3679, allocations: 4 kB / 429 MB, free: 8.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007403/0.3686, allocations: 245.6 kB / 429.2 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.3703, allocations: 0.7632 MB / 430 MB, free: 7.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.3718, allocations: 362.3 kB / 430.3 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.3721, allocations: 84.8 kB / 430.4 MB, free: 7.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.3721, allocations: 3.984 kB / 430.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005465/0.3727, allocations: 217.2 kB / 430.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.963e-06/0.3727, allocations: 4 kB / 430.6 MB, free: 6.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.002186/0.3748, allocations: 0.498 MB / 431.1 MB, free: 6.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.987e-05/0.3749, allocations: 106.8 kB / 431.2 MB, free: 6.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/0.3754, allocations: 261.8 kB / 431.5 MB, free: 5.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.3754, allocations: 33.7 kB / 431.5 MB, free: 5.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.3757, allocations: 187.9 kB / 431.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.3757, allocations: 39.72 kB / 431.7 MB, free: 5.586 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.3759, allocations: 49.59 kB / 431.8 MB, free: 5.531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3761, allocations: 334.8 kB / 432.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.3764, allocations: 125.6 kB / 432.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.3769, allocations: 278.7 kB / 432.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007279/0.3776, allocations: 305.4 kB / 432.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3776, allocations: 0 / 432.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001241/0.3789, allocations: 460.1 kB / 433.3 MB, free: 3.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.104e-05/0.3789, allocations: 33.7 kB / 433.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3789, allocations: 4 kB / 433.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003298/0.3793, allocations: 60.88 kB / 433.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.3795, allocations: 59.83 kB / 433.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/0.3821, allocations: 1.479 MB / 434.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003907/0.3824, allocations: 47.84 kB / 434.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.3825, allocations: 12 kB / 435 MB, free: 2.105 MB / 334.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.0002258/0.3827, allocations: 141.7 kB / 435.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.3827, allocations: 23.86 kB / 435.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.3828, allocations: 29.7 kB / 435.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3828, allocations: 4 kB / 435.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3828, allocations: 0 / 435.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3828, allocations: 0 / 435.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.3842, allocations: 0.5495 MB / 435.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.3842, allocations: 3.938 kB / 435.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.3844, allocations: 31.97 kB / 435.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002432/0.3846, allocations: 56.81 kB / 435.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.3847, allocations: 0 / 435.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002547/0.3872, allocations: 1.468 MB / 437.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.918e-06/0.3872, allocations: 11.91 kB / 437.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.3883, allocations: 384.1 kB / 437.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.3884, allocations: 31.72 kB / 437.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.3885, allocations: 11.94 kB / 437.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.3888, allocations: 32.16 kB / 437.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.955e-05/0.3889, allocations: 15.97 kB / 437.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.3889, allocations: 7.938 kB / 437.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002789/0.3891, allocations: 185.2 kB / 437.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3891, allocations: 0 / 437.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004473/0.3896, allocations: 63.89 kB / 438 MB, free: 14.9 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.0002207/0.3898, allocations: 107.2 kB / 438.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.391, allocations: 415.6 kB / 438.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.391, allocations: 4 kB / 438.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004897/0.3915, allocations: 202.5 kB / 438.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.3919, allocations: 45.97 kB / 438.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.393, allocations: 439.7 kB / 439.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.3932, allocations: 138.1 kB / 439.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.3933, allocations: 25.94 kB / 439.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.3934, allocations: 19.44 kB / 439.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of SimCode: time 1.113e-06/0.3934, allocations: 0 / 439.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of Templates: time 0.009819/0.4032, allocations: 3.819 MB / 443.2 MB, free: 9.676 MB / 350.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.937416380271316]