Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.001334/0.001334, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001092/0.001092, allocations: 164.9 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9154/0.9154, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.29e-05, allocations: 2.312 kB / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003257/0.00329, allocations: 1.508 MB / 275.7 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003694/0.003659, allocations: 107.6 kB / 275.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.487e-05/0.003754, allocations: 0 / 275.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.002e-05/0.003794, allocations: 3.938 kB / 275.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.305e-05/0.003867, allocations: 5.719 kB / 275.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.004178, allocations: 23.97 kB / 275.8 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.004286, allocations: 27.86 kB / 275.9 MB, free: 2.734 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.004398, allocations: 7.984 kB / 275.9 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.731e-05/0.004465, allocations: 16.48 kB / 275.9 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.461e-05/0.00452, allocations: 12.67 kB / 275.9 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.004545, allocations: 0 / 275.9 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.004558, allocations: 4.5 kB / 275.9 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.004582, allocations: 4 kB / 275.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.00461, allocations: 4.875 kB / 275.9 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.004718, allocations: 31.78 kB / 276 MB, free: 2.656 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004721, allocations: 0.625 kB / 276 MB, free: 2.656 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.004721, allocations: 0 / 276 MB, free: 2.656 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.004727, allocations: 2.125 kB / 276 MB, free: 2.656 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004299/0.005156, allocations: 372.6 kB / 276.3 MB, free: 2.254 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.005202, allocations: 8.031 kB / 276.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.00524, allocations: 8.891 kB / 276.3 MB, free: 2.238 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.005414, allocations: 118.6 kB / 276.5 MB, free: 2.098 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.005426, allocations: 4.375 kB / 276.5 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.005437, allocations: 4.375 kB / 276.5 MB, free: 2.09 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.005674, allocations: 102.8 kB / 276.6 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.005682, allocations: 4.188 kB / 276.6 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.005691, allocations: 384 / 276.6 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005696, allocations: 384 / 276.6 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.984e-05/0.005726, allocations: 15.86 kB / 276.6 MB, free: 1.953 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000103/0.005829, allocations: 97.25 kB / 276.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.34e-05/0.005913, allocations: 39.05 kB / 276.7 MB, free: 1.781 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.005947, allocations: 15.72 kB / 276.7 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.00596, allocations: 0 / 276.7 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.005989, allocations: 37.39 kB / 276.8 MB, free: 1.715 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.00599, allocations: 0 / 276.8 MB, free: 1.715 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001546/0.006145, allocations: 65.61 kB / 276.8 MB, free: 1.645 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.006191, allocations: 51.41 kB / 276.9 MB, free: 1.582 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.705e-05/0.006288, allocations: 165.9 kB / 277 MB, free: 1.402 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.006302, allocations: 25.7 kB / 277.1 MB, free: 1.371 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.006353, allocations: 130.9 kB / 277.2 MB, free: 1.238 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/0.006355, allocations: 7.938 kB / 277.2 MB, free: 1.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.006382, allocations: 19.36 kB / 277.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.006538, allocations: 0.4883 MB / 277.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.747e-06/0.006542, allocations: 0 / 277.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.548e-06/0.006546, allocations: 0 / 277.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.866e-05/0.006585, allocations: 123.2 kB / 277.8 MB, free: 0.582 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.963e-05/0.006625, allocations: 123.2 kB / 278 MB, free: 472 kB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.183e-05/0.006686, allocations: 33.64 kB / 278 MB, free: 432 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/0.006735, allocations: 123.2 kB / 278.1 MB, free: 308 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.885e-05/0.006774, allocations: 119.2 kB / 278.2 MB, free: 188 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.77e-05/0.006871, allocations: 242.3 kB / 278.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.865e-05/0.00691, allocations: 127.2 kB / 278.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.576e-05/0.006986, allocations: 242.4 kB / 278.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.851e-05/0.007064, allocations: 123.1 kB / 278.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.007104, allocations: 127.1 kB / 279.1 MB, free: 15.34 MB / 266.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 (0): * Single equations (assignments): 0 * 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 0.0001256/0.00723, allocations: 271.8 kB / 279.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-05/0.007311, allocations: 57.58 kB / 279.4 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.007344, allocations: 4 kB / 279.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.007347, allocations: 0 / 279.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.00735, allocations: 0 / 279.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.007355, allocations: 4 kB / 279.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.355e-05/0.007448, allocations: 101.1 kB / 279.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.007453, allocations: 0 / 279.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.926e-05/0.007532, allocations: 8.25 kB / 279.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.007535, allocations: 0 / 279.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.007544, allocations: 8 kB / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.007546, allocations: 0 / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.007549, allocations: 8 kB / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.481e-05/0.007603, allocations: 72.31 kB / 279.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-06/0.007611, allocations: 3.984 kB / 279.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-06/0.007619, allocations: 0 / 279.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.12e-05/0.00763, allocations: 4 kB / 279.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-06/0.007633, allocations: 0 / 279.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.007637, allocations: 0 / 279.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.264e-05/0.00768, allocations: 127.2 kB / 279.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00768, allocations: 0 / 279.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001349/0.007815, allocations: 11.94 kB / 279.7 MB, free: 14.6 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: 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 8.352e-05/0.007898, allocations: 95.25 kB / 279.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.33e-05/0.007951, allocations: 8 kB / 279.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.007953, allocations: 0 / 279.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.007954, allocations: 0 / 279.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.008144, allocations: 21.02 kB / 279.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/0.008358, allocations: 109.3 kB / 280 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.094e-05/0.008389, allocations: 59.22 kB / 280 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.45e-06/0.008395, allocations: 3.984 kB / 280 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.008434, allocations: 70.2 kB / 280.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.008434, allocations: 4 kB / 280.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of Templates: time 0.001786/0.01022, allocations: 302.9 kB / 280.4 MB, free: 13.88 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.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.7259073862805963]