Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008712/0.0008711, allocations: 92.53 kB / 16.3 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009422/0.0009423, allocations: 182.8 kB / 17.2 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 223.2 MB / 241.1 MB, free: 5.441 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003902, allocations: 6.031 kB / 300.7 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1409, allocations: 50.43 MB / 351.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001831/0.1428, allocations: 1.162 MB / 352.3 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002865/0.1431, allocations: 103.7 kB / 352.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.984e-05/0.1432, allocations: 8 kB / 352.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.1432, allocations: 0 / 352.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.1433, allocations: 0 / 352.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.1435, allocations: 31.11 kB / 352.4 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.903e-05/0.1436, allocations: 19.97 kB / 352.5 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.1437, allocations: 4.281 kB / 352.5 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.188e-05/0.1437, allocations: 11.92 kB / 352.5 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.31e-05/0.1438, allocations: 11.94 kB / 352.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.1438, allocations: 0 / 352.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-06/0.1438, allocations: 0 / 352.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.1439, allocations: 4 kB / 352.5 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.1439, allocations: 29.7 kB / 352.5 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.131e-05/0.144, allocations: 31.88 kB / 352.6 MB, free: 10.3 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.144, allocations: 0 / 352.6 MB, free: 10.3 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.144, allocations: 0 / 352.6 MB, free: 10.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.144, allocations: 0 / 352.6 MB, free: 10.3 MB / 286.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.0004159/0.1444, allocations: 331.3 kB / 352.9 MB, free: 9.934 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1445, allocations: 12.03 kB / 352.9 MB, free: 9.922 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.1445, allocations: 3.953 kB / 352.9 MB, free: 9.918 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.1447, allocations: 182.8 kB / 353.1 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1447, allocations: 4 kB / 353.1 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.1448, allocations: 4 kB / 353.1 MB, free: 9.691 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.1451, allocations: 115.3 kB / 353.2 MB, free: 9.566 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1451, allocations: 0 / 353.2 MB, free: 9.566 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1451, allocations: 4 kB / 353.2 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1452, allocations: 0 / 353.2 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.202e-05/0.1452, allocations: 23.94 kB / 353.2 MB, free: 9.539 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.1454, allocations: 157.6 kB / 353.4 MB, free: 9.336 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.1456, allocations: 66.48 kB / 353.4 MB, free: 9.262 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.1456, allocations: 0 / 353.4 MB, free: 9.262 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.1457, allocations: 34.59 kB / 353.5 MB, free: 9.219 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1457, allocations: 0 / 353.5 MB, free: 9.219 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002281/0.1459, allocations: 73.81 kB / 353.5 MB, free: 9.141 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.146, allocations: 59.34 kB / 353.6 MB, free: 9.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.783e-05/0.1461, allocations: 101.8 kB / 353.7 MB, free: 8.961 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1461, allocations: 29.7 kB / 353.7 MB, free: 8.926 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.1461, allocations: 84.14 kB / 353.8 MB, free: 8.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.332e-06/0.1461, allocations: 3.938 kB / 353.8 MB, free: 8.836 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-06/0.1461, allocations: 0 / 353.8 MB, free: 8.836 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1463, allocations: 326.8 kB / 354.1 MB, free: 8.508 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.1463, allocations: 4 kB / 354.1 MB, free: 8.504 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.1463, allocations: 27.62 kB / 354.2 MB, free: 8.465 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.859e-05/0.1463, allocations: 4 kB / 354.2 MB, free: 8.461 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1463, allocations: 0 / 354.2 MB, free: 8.461 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.422e-05/0.1464, allocations: 65.47 kB / 354.2 MB, free: 8.391 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1464, allocations: 4 kB / 354.2 MB, free: 8.387 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1465, allocations: 4 kB / 354.2 MB, free: 8.383 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1465, allocations: 96 / 354.2 MB, free: 8.383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.364e-05/0.1465, allocations: 11.97 kB / 354.3 MB, free: 8.371 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.1465, allocations: 4 kB / 354.3 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.1466, allocations: 0 / 354.3 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1466, allocations: 8 kB / 354.3 MB, free: 8.359 MB / 286.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 7.397e-05/0.1467, allocations: 113.9 kB / 354.4 MB, free: 8.238 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.1468, allocations: 65.62 kB / 354.4 MB, free: 8.168 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.1468, allocations: 7.891 kB / 354.4 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1468, allocations: 0 / 354.4 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1468, allocations: 0 / 354.4 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1468, allocations: 0 / 354.4 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.246e-05/0.1469, allocations: 161.5 kB / 354.6 MB, free: 7.945 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1469, allocations: 0 / 354.6 MB, free: 7.945 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.147, allocations: 15.98 kB / 354.6 MB, free: 7.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.147, allocations: 256 / 354.6 MB, free: 7.93 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.147, allocations: 0 / 354.6 MB, free: 7.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.147, allocations: 8 kB / 354.6 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.147, allocations: 0 / 354.6 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.1472, allocations: 89.06 kB / 354.7 MB, free: 7.816 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.1472, allocations: 81.05 kB / 354.8 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.1472, allocations: 4 kB / 354.8 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.829e-05/0.1473, allocations: 8 kB / 354.8 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-06/0.1473, allocations: 3.938 kB / 354.8 MB, free: 7.703 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1473, allocations: 0 / 354.8 MB, free: 7.703 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.456e-05/0.1473, allocations: 83.27 kB / 354.9 MB, free: 7.621 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.1473, allocations: 0 / 354.9 MB, free: 7.621 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001825/0.1475, allocations: 11.94 kB / 354.9 MB, free: 7.609 MB / 286.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 9.877e-05/0.1476, allocations: 95.25 kB / 355 MB, free: 7.508 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.1477, allocations: 31.92 kB / 355 MB, free: 7.477 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1478, allocations: 4 kB / 355 MB, free: 7.473 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.7e-07/0.1478, allocations: 0 / 355 MB, free: 7.473 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.148, allocations: 31.88 kB / 355.1 MB, free: 7.441 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.1482, allocations: 124.9 kB / 355.2 MB, free: 7.293 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.1485, allocations: 0.6809 MB / 355.9 MB, free: 6.586 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.274e-05/0.1486, allocations: 0 / 355.9 MB, free: 6.586 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.1486, allocations: 11.44 kB / 355.9 MB, free: 6.574 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1486, allocations: 0 / 355.9 MB, free: 6.574 MB / 286.1 MB Notification: Performance of Templates: time 0.0022/0.1508, allocations: 280.1 kB / 356.1 MB, free: 6.301 MB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches