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.001247/0.001247, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001293, allocations: 58.42 kB / 306.9 MB, free: 0.6562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1259, allocations: 50.53 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.00361/0.1296, allocations: 1.475 MB / 358.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003475/0.13, allocations: 105.4 kB / 359 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.122e-05/0.1301, allocations: 0 / 359 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/0.1301, allocations: 3.938 kB / 359.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.391e-05/0.1302, allocations: 3.938 kB / 359.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.1305, allocations: 19.92 kB / 359.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.465e-05/0.1306, allocations: 31.86 kB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1307, allocations: 15.98 kB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.094e-05/0.1307, allocations: 4 kB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.599e-05/0.1308, allocations: 15.92 kB / 359.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.1308, allocations: 0 / 359.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.1308, allocations: 4 kB / 359.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.1309, allocations: 7.938 kB / 359.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.1309, allocations: 11.94 kB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.867e-05/0.131, allocations: 31.89 kB / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.131, allocations: 0 / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.131, allocations: 0 / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.131, allocations: 0 / 359.2 MB, free: 12.39 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.0004253/0.1315, allocations: 347.7 kB / 359.5 MB, free: 12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1315, allocations: 12.03 kB / 359.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.1316, allocations: 4.844 kB / 359.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.1317, allocations: 168.4 kB / 359.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1318, allocations: 4.375 kB / 359.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.1318, allocations: 4.375 kB / 359.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.1321, allocations: 111.7 kB / 359.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1321, allocations: 192 / 359.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1321, allocations: 3.938 kB / 359.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1321, allocations: 0 / 359.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.307e-05/0.1322, allocations: 27.91 kB / 359.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.1324, allocations: 153.7 kB / 360 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.1325, allocations: 58.58 kB / 360.1 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.234e-05/0.1326, allocations: 20.89 kB / 360.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1326, allocations: 7.938 kB / 360.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.1327, allocations: 30.56 kB / 360.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.1327, allocations: 0 / 360.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002394/0.1329, allocations: 77.73 kB / 360.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.133, allocations: 55.41 kB / 360.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.627e-05/0.1331, allocations: 106 kB / 360.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1331, allocations: 25.7 kB / 360.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.1332, allocations: 84.14 kB / 360.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.1332, allocations: 0 / 360.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.1332, allocations: 17.72 kB / 360.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1333, allocations: 314.8 kB / 360.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/0.1334, allocations: 12 kB / 360.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.273e-05/0.1334, allocations: 31.48 kB / 360.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.854e-05/0.1335, allocations: 31.38 kB / 360.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1335, allocations: 4 kB / 360.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.192e-05/0.1336, allocations: 61.47 kB / 360.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1336, allocations: 8 kB / 360.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.1336, allocations: 3.938 kB / 360.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1336, allocations: 0 / 360.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.355e-05/0.1337, allocations: 11.98 kB / 361 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1337, allocations: 0 / 361 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.131e-05/0.1337, allocations: 0 / 361 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.1338, allocations: 4.125 kB / 361 MB, free: 10.37 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.517e-05/0.1339, allocations: 129.7 kB / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.134, allocations: 57.62 kB / 361.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.134, allocations: 11.83 kB / 361.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.134, allocations: 0 / 361.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.134, allocations: 4 kB / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1341, allocations: 3.938 kB / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.1342, allocations: 153.7 kB / 361.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1342, allocations: 0 / 361.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/0.1342, allocations: 11.98 kB / 361.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.1343, allocations: 4 kB / 361.3 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1343, allocations: 3.938 kB / 361.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1343, allocations: 0 / 361.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1343, allocations: 0 / 361.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.1344, allocations: 88.95 kB / 361.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.1345, allocations: 77.11 kB / 361.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.1345, allocations: 7.938 kB / 361.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.617e-05/0.1345, allocations: 8 kB / 361.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-06/0.1346, allocations: 0 / 361.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.1346, allocations: 0 / 361.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.497e-05/0.1346, allocations: 95.2 kB / 361.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1346, allocations: 0 / 361.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000201/0.1348, allocations: 4 kB / 361.6 MB, free: 9.609 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 (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.0001139/0.1349, allocations: 95.25 kB / 361.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.1351, allocations: 31.92 kB / 361.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1351, allocations: 0 / 361.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.1351, allocations: 0 / 361.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.1353, allocations: 19.98 kB / 361.7 MB, free: 9.457 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.1356, allocations: 117.5 kB / 361.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.1359, allocations: 0.6809 MB / 362.5 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.165e-05/0.1359, allocations: 4 kB / 362.5 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.1359, allocations: 11.44 kB / 362.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1359, allocations: 0 / 362.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of Templates: time 0.002577/0.1385, allocations: 320.6 kB / 362.9 MB, free: 8.281 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