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.001007/0.001007, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001086/0.001086, allocations: 141.9 kB / 24.97 MB, free: 8.359 MB / 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 0.9836/0.9836, allocations: 173.4 MB / 201.5 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 179] 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 4.198e-06/4.198e-06, allocations: 7.938 kB / 268.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.385e-05/3.805e-05, allocations: 2.312 kB / 268.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.00508/0.005118, allocations: 2.74 MB / 270.9 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.006448, allocations: 0.666 MB / 271.5 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.006596, allocations: 0 / 271.5 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.006741, allocations: 43.52 kB / 271.6 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.006925, allocations: 99.19 kB / 271.7 MB, free: 3.121 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.007254, allocations: 87.88 kB / 271.8 MB, free: 3.035 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.007656, allocations: 366.3 kB / 272.1 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.007842, allocations: 64.89 kB / 272.2 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.008078, allocations: 195.5 kB / 272.4 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.008216, allocations: 107.7 kB / 272.5 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.008258, allocations: 28 kB / 272.5 MB, free: 2.285 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.207e-05/0.00829, allocations: 32 kB / 272.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.00834, allocations: 63.69 kB / 272.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.00844, allocations: 103.8 kB / 272.7 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.008695, allocations: 211.2 kB / 272.9 MB, free: 1.883 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.008698, allocations: 0 / 272.9 MB, free: 1.883 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.008699, allocations: 0 / 272.9 MB, free: 1.883 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.008704, allocations: 4 kB / 272.9 MB, free: 1.879 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.0008066/0.009511, allocations: 0.6429 MB / 273.5 MB, free: 1.195 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.009553, allocations: 8.922 kB / 273.6 MB, free: 1.188 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.748e-05/0.009641, allocations: 52.73 kB / 273.6 MB, free: 1.137 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.009902, allocations: 219.9 kB / 273.8 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.00992, allocations: 12.88 kB / 273.8 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.009956, allocations: 20.38 kB / 273.9 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.01032, allocations: 277.1 kB / 274.1 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.01033, allocations: 192 / 274.1 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.01035, allocations: 12.38 kB / 274.1 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.01036, allocations: 7.938 kB / 274.1 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.01052, allocations: 86.88 kB / 274.2 MB, free: 468 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00092/0.01144, allocations: 0.84 MB / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.01188, allocations: 183 kB / 275.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.01193, allocations: 31.62 kB / 275.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.01195, allocations: 4 kB / 275.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.01213, allocations: 175.5 kB / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.675e-06/0.01214, allocations: 3.984 kB / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006174/0.01275, allocations: 245 kB / 275.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.01281, allocations: 110.8 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.01301, allocations: 304.2 kB / 276.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.01303, allocations: 29.7 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.01313, allocations: 238.7 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.01316, allocations: 35.73 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.01322, allocations: 55.31 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.01334, allocations: 0.5001 MB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.422e-05/0.01341, allocations: 57.67 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.01355, allocations: 256 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.01372, allocations: 220.3 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01372, allocations: 0 / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003628/0.01409, allocations: 312.5 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.01411, allocations: 29.7 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.01412, allocations: 4 kB / 277.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/0.01434, allocations: 51.78 kB / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.01444, allocations: 47.92 kB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009924/0.01544, allocations: 1.783 MB / 279.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.01557, allocations: 35.88 kB / 279.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.01559, allocations: 11.98 kB / 279.7 MB, free: 10.44 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 9.857e-05/0.01569, allocations: 175.9 kB / 279.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.01572, allocations: 23.86 kB / 279.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.01575, allocations: 25.83 kB / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01575, allocations: 7.938 kB / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01575, allocations: 7.875 kB / 280 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01576, allocations: 0 / 280 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004541/0.01621, allocations: 472.9 kB / 280.4 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01621, allocations: 0 / 280.4 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.221e-05/0.01628, allocations: 19.92 kB / 280.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000122/0.0164, allocations: 43.67 kB / 280.5 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.01641, allocations: 3.984 kB / 280.5 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008869/0.0173, allocations: 1.767 MB / 282.3 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.0173, allocations: 0 / 282.3 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.01756, allocations: 295.4 kB / 282.6 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.01759, allocations: 27.84 kB / 282.6 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.01761, allocations: 4.062 kB / 282.6 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.01772, allocations: 27.98 kB / 282.6 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/0.01779, allocations: 19.91 kB / 282.6 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.01779, allocations: 3.938 kB / 282.6 MB, free: 7.328 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.01793, allocations: 213.1 kB / 282.8 MB, free: 7.121 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01793, allocations: 0 / 282.8 MB, free: 7.121 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002552/0.01818, allocations: 63.89 kB / 282.9 MB, free: 7.059 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.0001432/0.01832, allocations: 103.8 kB / 283 MB, free: 6.945 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004262/0.01875, allocations: 358.1 kB / 283.4 MB, free: 6.555 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01875, allocations: 0 / 283.4 MB, free: 6.555 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.01888, allocations: 213.7 kB / 283.6 MB, free: 6.324 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.01916, allocations: 41.28 kB / 283.6 MB, free: 6.285 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007844/0.01995, allocations: 402.5 kB / 284 MB, free: 5.863 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.27e-05/0.02, allocations: 80.31 kB / 284.1 MB, free: 5.766 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.741e-05/0.02007, allocations: 21.89 kB / 284.1 MB, free: 5.746 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.02012, allocations: 24.5 kB / 284.1 MB, free: 5.719 MB / 266.7 MB Notification: Performance of SimCode: time 1.643e-06/0.02012, allocations: 0 / 284.1 MB, free: 5.719 MB / 266.7 MB Notification: Performance of Templates: time 0.005707/0.02583, allocations: 3.616 MB / 287.7 MB, free: 2.156 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7942398660816252]