Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 120.7 kB / 19.18 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 202.6 kB / 22.12 MB, free: 0.9648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 230.2 MB / 255.1 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 59.91 kB / 374.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1491, allocations: 53.31 MB / 427.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003611/0.1527, allocations: 1.486 MB / 429.3 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003736/0.1531, allocations: 95.69 kB / 429.4 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.1532, allocations: 0 / 429.4 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.938e-05/0.1532, allocations: 0 / 429.4 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.065e-05/0.1533, allocations: 7.938 kB / 429.4 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.1536, allocations: 31.91 kB / 429.5 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.1537, allocations: 27.92 kB / 429.5 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1538, allocations: 0 / 429.5 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.767e-05/0.1539, allocations: 15.92 kB / 429.5 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.832e-05/0.1539, allocations: 15.92 kB / 429.5 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.1539, allocations: 4 kB / 429.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-06/0.1539, allocations: 0 / 429.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.154, allocations: 7.984 kB / 429.5 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.154, allocations: 11.88 kB / 429.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.1541, allocations: 31.84 kB / 429.6 MB, free: 2.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1541, allocations: 4 kB / 429.6 MB, free: 2.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.1541, allocations: 0 / 429.6 MB, free: 2.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.1542, allocations: 0 / 429.6 MB, free: 2.855 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.0005957/0.1548, allocations: 339.4 kB / 429.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.1548, allocations: 12.02 kB / 429.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.1548, allocations: 12.83 kB / 429.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.1551, allocations: 180.3 kB / 430.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1552, allocations: 384 / 430.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.1552, allocations: 8.375 kB / 430.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.1555, allocations: 107.9 kB / 430.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1555, allocations: 192 / 430.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1556, allocations: 3.938 kB / 430.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1556, allocations: 0 / 430.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.806e-05/0.1556, allocations: 19.98 kB / 430.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.1558, allocations: 161.6 kB / 430.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.156, allocations: 54.53 kB / 430.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.195e-05/0.1561, allocations: 16.89 kB / 430.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1561, allocations: 4 kB / 430.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.1561, allocations: 42.55 kB / 430.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1561, allocations: 0 / 430.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002352/0.1564, allocations: 69.55 kB / 430.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.1564, allocations: 55.41 kB / 430.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.596e-05/0.1565, allocations: 109.8 kB / 430.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1565, allocations: 25.7 kB / 430.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.1566, allocations: 88.14 kB / 430.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.817e-06/0.1566, allocations: 0 / 430.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.1566, allocations: 17.72 kB / 430.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1568, allocations: 314.8 kB / 431.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.1568, allocations: 7.984 kB / 431.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.1568, allocations: 23.44 kB / 431.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.095e-05/0.1569, allocations: 39.38 kB / 431.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1569, allocations: 0 / 431.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.684e-05/0.157, allocations: 57.62 kB / 431.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.157, allocations: 10.5 kB / 431.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.157, allocations: 3.938 kB / 431.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.157, allocations: 0 / 431.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.1571, allocations: 8.125 kB / 431.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.1571, allocations: 7.938 kB / 431.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.1571, allocations: 7.938 kB / 431.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.1571, allocations: 4 kB / 431.3 MB, free: 0.8281 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 9.11e-05/0.1572, allocations: 109.8 kB / 431.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.1573, allocations: 53.69 kB / 431.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.1573, allocations: 7.844 kB / 431.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1574, allocations: 4 kB / 431.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1574, allocations: 0 / 431.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.1574, allocations: 7.984 kB / 431.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.1575, allocations: 158.2 kB / 431.7 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1575, allocations: 7.938 kB / 431.7 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.588e-05/0.1575, allocations: 4 kB / 431.7 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1575, allocations: 4 kB / 431.7 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.1576, allocations: 15.86 kB / 431.7 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1576, allocations: 0 / 431.7 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1576, allocations: 0 / 431.7 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.1577, allocations: 89.06 kB / 431.8 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.1578, allocations: 81.09 kB / 431.9 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.1578, allocations: 7.938 kB / 431.9 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.142e-05/0.1578, allocations: 3.938 kB / 431.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-06/0.1578, allocations: 0 / 431.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.1578, allocations: 0 / 431.9 MB, free: 176 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.268e-05/0.1579, allocations: 91.27 kB / 432 MB, free: 84 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1579, allocations: 0 / 432 MB, free: 84 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001878/0.1581, allocations: 4 kB / 432 MB, free: 80 kB / 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: 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.0001515/0.1582, allocations: 95.25 kB / 432.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.1583, allocations: 31.92 kB / 432.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1583, allocations: 0 / 432.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.8e-07/0.1583, allocations: 0 / 432.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.1586, allocations: 23.92 kB / 432.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.1589, allocations: 139.5 kB / 432.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.1592, allocations: 0.6846 MB / 433 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.1593, allocations: 7.438 kB / 433 MB, free: 15.04 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1593, allocations: 0 / 433 MB, free: 15.04 MB / 366.1 MB Notification: Performance of Templates: time 0.00238/0.1616, allocations: 0.5472 MB / 433.5 MB, free: 14.49 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 6.70909241901245]