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.00119/0.00119, allocations: 99.58 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001716/0.001716, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 227.7 MB / 246.4 MB, free: 11.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002481/0.0002481, allocations: 8 kB / 307.1 MB, free: 1.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1342, allocations: 51.52 MB / 358.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001568/0.1358, allocations: 1.188 MB / 359.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002525/0.1361, allocations: 95.77 kB / 359.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.275e-05/0.1362, allocations: 3.938 kB / 359.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.1362, allocations: 11.92 kB / 359.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.389e-05/0.1362, allocations: 3.938 kB / 359.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.1365, allocations: 19.98 kB / 360 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.605e-05/0.1365, allocations: 23.92 kB / 360 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.005e-05/0.1366, allocations: 8 kB / 360 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.823e-05/0.1367, allocations: 11.92 kB / 360 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.263e-05/0.1367, allocations: 11.94 kB / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.1367, allocations: 0 / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.178e-06/0.1367, allocations: 0 / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.1368, allocations: 0 / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.1368, allocations: 29.7 kB / 360 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.357e-05/0.1368, allocations: 23.94 kB / 360.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1369, allocations: 0 / 360.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1369, allocations: 0 / 360.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.1369, allocations: 4 kB / 360.1 MB, free: 12.21 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.0003585/0.1372, allocations: 335.5 kB / 360.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1373, allocations: 12.03 kB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.1373, allocations: 3.906 kB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.1375, allocations: 171 kB / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1375, allocations: 8 kB / 360.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.1375, allocations: 4 kB / 360.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.1378, allocations: 115.2 kB / 360.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.1378, allocations: 0 / 360.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1378, allocations: 4 kB / 360.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1378, allocations: 0 / 360.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.618e-05/0.1379, allocations: 23.98 kB / 360.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.1381, allocations: 153.7 kB / 360.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.1382, allocations: 62.48 kB / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.299e-05/0.1383, allocations: 28.92 kB / 361 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1383, allocations: 7.938 kB / 361 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.1383, allocations: 30.56 kB / 361 MB, free: 11.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 2.455e-06/0.1384, allocations: 3.984 kB / 361 MB, free: 11.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002068/0.1386, allocations: 77.53 kB / 361.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.1386, allocations: 67.34 kB / 361.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.442e-05/0.1387, allocations: 105.8 kB / 361.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.1387, allocations: 25.7 kB / 361.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.1388, allocations: 80.14 kB / 361.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.884e-06/0.1388, allocations: 4 kB / 361.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-06/0.1388, allocations: 0 / 361.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1389, allocations: 318.8 kB / 361.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-06/0.1389, allocations: 0 / 361.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.628e-05/0.1389, allocations: 31.44 kB / 361.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.013e-05/0.139, allocations: 7.938 kB / 361.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.139, allocations: 0 / 361.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.515e-05/0.139, allocations: 61.56 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1391, allocations: 12.12 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1391, allocations: 0 / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1391, allocations: 3.953 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.38e-05/0.1392, allocations: 11.98 kB / 361.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1392, allocations: 0 / 361.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.1392, allocations: 0 / 361.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.1392, allocations: 4 kB / 361.8 MB, free: 10.23 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 9.629e-05/0.1393, allocations: 113.8 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.1394, allocations: 69.53 kB / 362 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.1395, allocations: 7.891 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1395, allocations: 3.953 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1395, allocations: 0 / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1395, allocations: 4 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.901e-05/0.1396, allocations: 149.7 kB / 362.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1396, allocations: 4 kB / 362.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.804e-05/0.1397, allocations: 11.98 kB / 362.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1397, allocations: 4 kB / 362.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1397, allocations: 4 kB / 362.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1397, allocations: 0 / 362.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1397, allocations: 3.953 kB / 362.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.1398, allocations: 92.98 kB / 362.3 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.1399, allocations: 81.02 kB / 362.3 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.1399, allocations: 256 / 362.3 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.452e-05/0.1399, allocations: 12 kB / 362.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-06/0.1399, allocations: 0 / 362.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1399, allocations: 4 kB / 362.4 MB, free: 9.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.323e-05/0.14, allocations: 91.22 kB / 362.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.14, allocations: 0 / 362.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001823/0.1402, allocations: 4 kB / 362.4 MB, free: 9.477 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.00011/0.1403, allocations: 91.25 kB / 362.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.1404, allocations: 35.92 kB / 362.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1404, allocations: 0 / 362.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.1404, allocations: 0 / 362.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.1407, allocations: 19.98 kB / 362.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002592/0.1409, allocations: 120.7 kB / 362.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.1412, allocations: 0.6894 MB / 363.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.185e-05/0.1412, allocations: 0 / 363.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.1412, allocations: 11.44 kB / 363.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1412, allocations: 3.938 kB / 363.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of Templates: time 0.002181/0.1434, allocations: 276.2 kB / 363.7 MB, free: 8.176 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches