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.001612/0.001612, allocations: 115.1 kB / 18.46 MB, free: 4.695 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.002546/0.002546, allocations: 211.3 kB / 21.42 MB, free: 1.738 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.689/1.689, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.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 0.002227/0.002227, allocations: 51.92 kB / 374.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1366, allocations: 53.33 MB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003366/0.14, allocations: 1.486 MB / 429 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003177/0.1403, allocations: 91.73 kB / 429.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.999e-05/0.1403, allocations: 4 kB / 429.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.983e-05/0.1404, allocations: 3.938 kB / 429.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.031e-05/0.1404, allocations: 7.938 kB / 429.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.1407, allocations: 27.91 kB / 429.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.1408, allocations: 23.92 kB / 429.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.141, allocations: 7.938 kB / 429.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.141, allocations: 15.92 kB / 429.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.255e-05/0.1411, allocations: 11.94 kB / 429.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.1411, allocations: 0 / 429.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-06/0.1411, allocations: 4 kB / 429.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.1411, allocations: 3.984 kB / 429.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.249e-05/0.1412, allocations: 15.88 kB / 429.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.1413, allocations: 35.83 kB / 429.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1414, allocations: 4 kB / 429.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.337e-06/0.1414, allocations: 0 / 429.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.1414, allocations: 0 / 429.2 MB, free: 2.527 MB / 350.1 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.0005941/0.142, allocations: 335.4 kB / 429.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.142, allocations: 12.03 kB / 429.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.142, allocations: 8.875 kB / 429.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.1423, allocations: 180.4 kB / 429.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.1423, allocations: 384 / 429.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.1423, allocations: 8.375 kB / 429.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.1427, allocations: 103.9 kB / 429.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1427, allocations: 4.125 kB / 429.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1427, allocations: 7.938 kB / 429.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.1427, allocations: 0 / 429.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.319e-05/0.1428, allocations: 15.98 kB / 429.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.143, allocations: 165.6 kB / 430.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.1432, allocations: 46.59 kB / 430.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.77e-05/0.1432, allocations: 24.88 kB / 430.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.1432, allocations: 0 / 430.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.1433, allocations: 50.48 kB / 430.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1433, allocations: 0 / 430.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002613/0.1436, allocations: 73.55 kB / 430.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.1436, allocations: 51.41 kB / 430.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.1437, allocations: 101.9 kB / 430.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.1437, allocations: 25.7 kB / 430.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.1438, allocations: 88.12 kB / 430.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.075e-05/0.1438, allocations: 4 kB / 430.5 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.1438, allocations: 13.72 kB / 430.5 MB, free: 1.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.144, allocations: 318.8 kB / 430.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.144, allocations: 3.984 kB / 430.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.354e-05/0.1441, allocations: 31.38 kB / 430.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.698e-05/0.1441, allocations: 35.44 kB / 430.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1441, allocations: 0 / 430.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.944e-05/0.1442, allocations: 61.56 kB / 431 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1442, allocations: 7.938 kB / 431 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.1442, allocations: 7.938 kB / 431 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1442, allocations: 0 / 431 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.844e-05/0.1443, allocations: 12.12 kB / 431 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1443, allocations: 0 / 431 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.1443, allocations: 3.953 kB / 431 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1443, allocations: 4 kB / 431 MB, free: 0.5039 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 0.0001056/0.1444, allocations: 113.8 kB / 431.1 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.1446, allocations: 57.62 kB / 431.2 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/0.1446, allocations: 11.84 kB / 431.2 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1446, allocations: 0 / 431.2 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1446, allocations: 0 / 431.2 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1446, allocations: 7.984 kB / 431.2 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.1448, allocations: 153.6 kB / 431.3 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1448, allocations: 4 kB / 431.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.395e-05/0.1448, allocations: 8 kB / 431.3 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1448, allocations: 256 / 431.3 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1448, allocations: 7.938 kB / 431.4 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.1448, allocations: 7.984 kB / 431.4 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1448, allocations: 0 / 431.4 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.145, allocations: 89.02 kB / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.1451, allocations: 81.09 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.1451, allocations: 3.938 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.593e-05/0.1451, allocations: 7.938 kB / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-06/0.1451, allocations: 0 / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.1451, allocations: 384 / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.035e-05/0.1452, allocations: 83.28 kB / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1452, allocations: 0 / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001845/0.1454, allocations: 4 kB / 431.6 MB, free: 15.76 MB / 366.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: 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 0.0001454/0.1455, allocations: 103.8 kB / 431.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.1457, allocations: 31.92 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1457, allocations: 0 / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.1457, allocations: 0 / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.1459, allocations: 26 kB / 431.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.1463, allocations: 139.5 kB / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.1466, allocations: 0.6846 MB / 432.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.1466, allocations: 7.438 kB / 432.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1466, allocations: 0 / 432.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of Templates: time 0.002242/0.1489, allocations: 0.5549 MB / 433.2 MB, free: 14.16 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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: 7.014545490004821]