Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.0009529/0.0009529, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001039/0.001039, allocations: 143 kB / 24.89 MB, free: 8.785 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.8775/0.8775, allocations: 173.4 MB / 201.5 MB, free: 8.242 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.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 268.5 MB, free: 9.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.909e-05, allocations: 4.625 kB / 268.5 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.00235/0.002369, allocations: 1.624 MB / 270.1 MB, free: 8.176 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006902/0.003059, allocations: 461.9 kB / 270.6 MB, free: 7.723 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.744e-05/0.003127, allocations: 0 / 270.6 MB, free: 7.723 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.034e-05/0.003177, allocations: 11.86 kB / 270.6 MB, free: 7.711 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.003296, allocations: 7.938 kB / 270.6 MB, free: 7.703 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.003493, allocations: 47.77 kB / 270.6 MB, free: 7.656 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.015e-05/0.003583, allocations: 45.14 kB / 270.7 MB, free: 7.613 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.255e-05/0.003655, allocations: 15.97 kB / 270.7 MB, free: 7.598 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.045e-05/0.003736, allocations: 27.92 kB / 270.7 MB, free: 7.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.723e-05/0.003783, allocations: 16.45 kB / 270.7 MB, free: 7.555 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.003804, allocations: 4.594 kB / 270.7 MB, free: 7.551 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.003814, allocations: 4 kB / 270.7 MB, free: 7.547 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.267e-05/0.003857, allocations: 21.88 kB / 270.8 MB, free: 7.527 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.003879, allocations: 7.938 kB / 270.8 MB, free: 7.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.282e-05/0.003972, allocations: 39.83 kB / 270.8 MB, free: 7.48 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.003974, allocations: 0 / 270.8 MB, free: 7.48 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003974, allocations: 0 / 270.8 MB, free: 7.48 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.003977, allocations: 5.656 kB / 270.8 MB, free: 7.477 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003089/0.004286, allocations: 276.7 kB / 271.1 MB, free: 7.184 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.004317, allocations: 8.031 kB / 271.1 MB, free: 7.176 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.004342, allocations: 4.938 kB / 271.1 MB, free: 7.172 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.004487, allocations: 142.5 kB / 271.2 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.004497, allocations: 8.375 kB / 271.2 MB, free: 7 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.004507, allocations: 5.125 kB / 271.2 MB, free: 6.996 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.004678, allocations: 115.6 kB / 271.4 MB, free: 6.863 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.004685, allocations: 3.25 kB / 271.4 MB, free: 6.863 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.004691, allocations: 384 / 271.4 MB, free: 6.863 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.004697, allocations: 3.938 kB / 271.4 MB, free: 6.859 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.922e-05/0.004716, allocations: 11.98 kB / 271.4 MB, free: 6.848 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.004876, allocations: 145.2 kB / 271.5 MB, free: 6.688 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.004981, allocations: 49.11 kB / 271.6 MB, free: 6.621 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/0.005256, allocations: 21.78 kB / 271.6 MB, free: 6.594 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.005268, allocations: 4.953 kB / 271.6 MB, free: 6.59 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.00529, allocations: 34.56 kB / 271.6 MB, free: 6.547 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.005291, allocations: 3.938 kB / 271.6 MB, free: 6.543 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001192/0.00541, allocations: 54.11 kB / 271.7 MB, free: 6.484 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.005454, allocations: 89.05 kB / 271.8 MB, free: 6.379 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.435e-05/0.005528, allocations: 140.9 kB / 271.9 MB, free: 6.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.005538, allocations: 25.7 kB / 271.9 MB, free: 6.199 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.005568, allocations: 80.14 kB / 272 MB, free: 6.117 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.005581, allocations: 7.953 kB / 272 MB, free: 6.109 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.005606, allocations: 9.719 kB / 272 MB, free: 6.094 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.987e-05/0.005686, allocations: 322.8 kB / 272.3 MB, free: 5.77 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-06/0.005692, allocations: 0 / 272.3 MB, free: 5.77 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-06/0.005699, allocations: 0 / 272.3 MB, free: 5.77 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.293e-05/0.005722, allocations: 17.05 kB / 272.4 MB, free: 5.75 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.005723, allocations: 0 / 272.4 MB, free: 5.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.512e-05/0.005769, allocations: 37.62 kB / 272.4 MB, free: 5.707 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.005779, allocations: 8 kB / 272.4 MB, free: 5.699 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.005783, allocations: 0 / 272.4 MB, free: 5.699 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.005794, allocations: 3.938 kB / 272.4 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.784e-05/0.005832, allocations: 4 kB / 272.4 MB, free: 5.691 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-06/0.005834, allocations: 0 / 272.4 MB, free: 5.691 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.005851, allocations: 0 / 272.4 MB, free: 5.691 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.005857, allocations: 3.984 kB / 272.4 MB, free: 5.688 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.346e-05/0.00591, allocations: 116.7 kB / 272.5 MB, free: 5.562 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.005954, allocations: 37.69 kB / 272.6 MB, free: 5.52 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.005983, allocations: 12.34 kB / 272.6 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.005986, allocations: 3.938 kB / 272.6 MB, free: 5.496 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.005988, allocations: 0 / 272.6 MB, free: 5.496 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.005991, allocations: 0 / 272.6 MB, free: 5.496 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.0061, allocations: 73.88 kB / 272.7 MB, free: 5.406 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.006101, allocations: 0 / 272.7 MB, free: 5.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.005e-05/0.006131, allocations: 15.92 kB / 272.7 MB, free: 5.391 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.006132, allocations: 0 / 272.7 MB, free: 5.391 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.006136, allocations: 0 / 272.7 MB, free: 5.391 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.006138, allocations: 8 kB / 272.7 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.006139, allocations: 0 / 272.7 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.793e-05/0.006207, allocations: 140.3 kB / 272.8 MB, free: 5.227 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.006235, allocations: 11.95 kB / 272.8 MB, free: 5.215 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.006246, allocations: 4 kB / 272.8 MB, free: 5.211 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.631e-05/0.006292, allocations: 0 / 272.8 MB, free: 5.211 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.006318, allocations: 15.86 kB / 272.8 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.006321, allocations: 0 / 272.8 MB, free: 5.195 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.521e-05/0.006346, allocations: 32.77 kB / 272.9 MB, free: 5.16 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006346, allocations: 0 / 272.9 MB, free: 5.16 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001803/0.006526, allocations: 8.031 kB / 272.9 MB, free: 5.152 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.739e-05/0.006594, allocations: 76.42 kB / 273 MB, free: 5.07 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.016e-05/0.006644, allocations: 12.84 kB / 273 MB, free: 5.055 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.006647, allocations: 4 kB / 273 MB, free: 5.051 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.057e-05/0.006658, allocations: 4.859 kB / 273 MB, free: 5.043 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.006861, allocations: 26.67 kB / 273 MB, free: 5.016 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.007234, allocations: 175.1 kB / 273.2 MB, free: 4.816 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.829e-05/0.007272, allocations: 63.34 kB / 273.2 MB, free: 4.734 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.782e-05/0.00729, allocations: 384 / 273.2 MB, free: 4.734 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.007339, allocations: 55.38 kB / 273.3 MB, free: 4.68 MB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.00734, allocations: 0 / 273.3 MB, free: 4.68 MB / 250.7 MB Notification: Performance of Templates: time 0.002154/0.009494, allocations: 0.5742 MB / 273.9 MB, free: 4.121 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.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.4672227818518877]