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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001071/0.001071, allocations: 93.97 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001168, allocations: 204 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002987, allocations: 4 kB / 306.6 MB, free: 1.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1419, allocations: 51.49 MB / 358.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002064/0.1441, allocations: 1.18 MB / 359.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002871/0.1444, allocations: 91.72 kB / 359.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.1445, allocations: 0 / 359.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.1445, allocations: 3.938 kB / 359.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.44e-05/0.1446, allocations: 7.984 kB / 359.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.1449, allocations: 19.92 kB / 359.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.762e-05/0.145, allocations: 23.92 kB / 359.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.1452, allocations: 11.98 kB / 359.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.839e-05/0.1452, allocations: 4 kB / 359.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.1453, allocations: 7.922 kB / 359.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.1453, allocations: 4 kB / 359.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.1453, allocations: 0 / 359.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.1453, allocations: 0 / 359.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.1454, allocations: 45.56 kB / 359.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.217e-05/0.1455, allocations: 15.97 kB / 359.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1455, allocations: 0 / 359.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.1455, allocations: 4 kB / 359.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1455, allocations: 0 / 359.5 MB, free: 12.47 MB / 302.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.000516/0.146, allocations: 338.1 kB / 359.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1461, allocations: 8.031 kB / 359.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.1461, allocations: 7.906 kB / 359.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.1464, allocations: 171.1 kB / 360 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1464, allocations: 0 / 360 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.1464, allocations: 4 kB / 360 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.1468, allocations: 127.2 kB / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1468, allocations: 3.938 kB / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1468, allocations: 0 / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1468, allocations: 0 / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.786e-05/0.1469, allocations: 23.98 kB / 360.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.1471, allocations: 157.7 kB / 360.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.1473, allocations: 54.58 kB / 360.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1473, allocations: 7.938 kB / 360.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1473, allocations: 34.56 kB / 360.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1473, allocations: 3.938 kB / 360.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002489/0.1476, allocations: 85.66 kB / 360.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.1477, allocations: 51.41 kB / 360.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.559e-05/0.1478, allocations: 109.8 kB / 360.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.1478, allocations: 25.7 kB / 360.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.1478, allocations: 84.14 kB / 360.8 MB, free: 11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.1e-05/0.1479, allocations: 3.984 kB / 360.8 MB, free: 11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.1479, allocations: 4 kB / 360.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.148, allocations: 310.8 kB / 361.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.242e-05/0.148, allocations: 4 kB / 361.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.1481, allocations: 31.38 kB / 361.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.484e-05/0.1481, allocations: 11.98 kB / 361.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1481, allocations: 4 kB / 361.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.163e-05/0.1482, allocations: 49.64 kB / 361.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1482, allocations: 4 kB / 361.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1482, allocations: 0 / 361.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.1483, allocations: 16.06 kB / 361.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/0.1483, allocations: 4 kB / 361.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.1484, allocations: 3.938 kB / 361.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.165e-05/0.1484, allocations: 4 kB / 361.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.1484, allocations: 256 / 361.2 MB, free: 10.53 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.1485, allocations: 117.8 kB / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.1486, allocations: 65.52 kB / 361.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.1487, allocations: 11.91 kB / 361.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1487, allocations: 7.953 kB / 361.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1487, allocations: 4 kB / 361.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1487, allocations: 0 / 361.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.1489, allocations: 153.7 kB / 361.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1489, allocations: 0 / 361.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.292e-05/0.1489, allocations: 11.98 kB / 361.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1489, allocations: 0 / 361.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1489, allocations: 0 / 361.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1489, allocations: 3.938 kB / 361.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.149, allocations: 7.953 kB / 361.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.1492, allocations: 89.05 kB / 361.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.1492, allocations: 85.02 kB / 361.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.1492, allocations: 0 / 361.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.387e-05/0.1493, allocations: 0 / 361.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-06/0.1493, allocations: 4 kB / 361.7 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1493, allocations: 4 kB / 361.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.168e-05/0.1494, allocations: 91.22 kB / 361.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1494, allocations: 0 / 361.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000198/0.1496, allocations: 4 kB / 361.8 MB, free: 9.773 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001495/0.1497, allocations: 95.25 kB / 361.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.1499, allocations: 27.92 kB / 362 MB, free: 9.645 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1499, allocations: 4.25 kB / 362 MB, free: 9.641 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.11e-07/0.1499, allocations: 0 / 362 MB, free: 9.641 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.1501, allocations: 19.98 kB / 362 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.1504, allocations: 124.7 kB / 362.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.1507, allocations: 0.6809 MB / 362.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.667e-05/0.1508, allocations: 11.98 kB / 362.8 MB, free: 8.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.1508, allocations: 7.438 kB / 362.8 MB, free: 8.742 MB / 302.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1508, allocations: 0 / 362.8 MB, free: 8.742 MB / 302.1 MB Notification: Performance of Templates: time 0.002735/0.1535, allocations: 284.6 kB / 363.1 MB, free: 8.465 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches