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.001187/0.001187, allocations: 109.2 kB / 16.51 MB, free: 6.715 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.001337/0.001337, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.48/1.48, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001032, allocations: 49.81 kB / 300 MB, free: 6.285 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1294, allocations: 49.44 MB / 349.4 MB, free: 4.84 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003143/0.1326, allocations: 1.53 MB / 350.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002529/0.1328, allocations: 99.69 kB / 351 MB, free: 3.195 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.278e-05/0.1329, allocations: 0 / 351 MB, free: 3.195 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.646e-05/0.133, allocations: 0 / 351 MB, free: 3.195 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.875e-05/0.133, allocations: 3.938 kB / 351 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.1333, allocations: 23.91 kB / 351 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.687e-05/0.1334, allocations: 27.92 kB / 351.1 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.587e-05/0.1335, allocations: 12 kB / 351.1 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.423e-05/0.1335, allocations: 11.92 kB / 351.1 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.1336, allocations: 11.92 kB / 351.1 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.1336, allocations: 4 kB / 351.1 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.1336, allocations: 0 / 351.1 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.1336, allocations: 0 / 351.1 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.1337, allocations: 11.94 kB / 351.1 MB, free: 3.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.871e-05/0.1338, allocations: 23.91 kB / 351.1 MB, free: 3.066 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1338, allocations: 0 / 351.1 MB, free: 3.066 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1338, allocations: 3.938 kB / 351.2 MB, free: 3.062 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1338, allocations: 7.938 kB / 351.2 MB, free: 3.055 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.0004555/0.1342, allocations: 347.7 kB / 351.5 MB, free: 2.664 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1343, allocations: 12.03 kB / 351.5 MB, free: 2.652 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.1343, allocations: 4.844 kB / 351.5 MB, free: 2.648 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.1345, allocations: 172.4 kB / 351.7 MB, free: 2.441 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.1345, allocations: 4.375 kB / 351.7 MB, free: 2.438 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.1345, allocations: 4.375 kB / 351.7 MB, free: 2.434 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/0.1349, allocations: 111.8 kB / 351.8 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1349, allocations: 192 / 351.8 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.135, allocations: 3.938 kB / 351.8 MB, free: 2.309 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.135, allocations: 11.92 kB / 351.8 MB, free: 2.297 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.02e-05/0.1351, allocations: 15.98 kB / 351.8 MB, free: 2.281 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.1352, allocations: 157.6 kB / 352 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.1354, allocations: 58.55 kB / 352 MB, free: 2.012 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.872e-05/0.1354, allocations: 20.92 kB / 352.1 MB, free: 1.988 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.1355, allocations: 4 kB / 352.1 MB, free: 1.984 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1355, allocations: 30.56 kB / 352.1 MB, free: 1.945 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1355, allocations: 0 / 352.1 MB, free: 1.945 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002619/0.1358, allocations: 77.55 kB / 352.2 MB, free: 1.863 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.1358, allocations: 59.41 kB / 352.2 MB, free: 1.793 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.668e-05/0.1359, allocations: 101.8 kB / 352.3 MB, free: 1.684 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.1359, allocations: 29.7 kB / 352.4 MB, free: 1.648 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.136, allocations: 80.14 kB / 352.4 MB, free: 1.566 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.583e-06/0.136, allocations: 0 / 352.4 MB, free: 1.566 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.136, allocations: 17.72 kB / 352.5 MB, free: 1.543 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1362, allocations: 322.8 kB / 352.8 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.1362, allocations: 4 kB / 352.8 MB, free: 1.215 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.55e-05/0.1362, allocations: 23.44 kB / 352.8 MB, free: 1.18 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.367e-05/0.1363, allocations: 39.36 kB / 352.8 MB, free: 1.129 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1363, allocations: 0 / 352.8 MB, free: 1.129 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.33e-05/0.1364, allocations: 49.89 kB / 352.9 MB, free: 1.074 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1364, allocations: 8 kB / 352.9 MB, free: 1.066 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1364, allocations: 7.875 kB / 352.9 MB, free: 1.059 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1364, allocations: 7.984 kB / 352.9 MB, free: 1.051 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.1365, allocations: 8 kB / 352.9 MB, free: 1.043 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1365, allocations: 3.938 kB / 352.9 MB, free: 1.039 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.734e-05/0.1365, allocations: 12.03 kB / 352.9 MB, free: 1.027 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.1366, allocations: 4 kB / 352.9 MB, free: 1.023 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.754e-05/0.1367, allocations: 113.8 kB / 353 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.1368, allocations: 57.67 kB / 353.1 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.1368, allocations: 11.78 kB / 353.1 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.1368, allocations: 4 kB / 353.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1368, allocations: 0 / 353.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1368, allocations: 0 / 353.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.137, allocations: 153.7 kB / 353.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.137, allocations: 4 kB / 353.3 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.708e-05/0.137, allocations: 11.98 kB / 353.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.137, allocations: 0 / 353.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.137, allocations: 3.938 kB / 353.3 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.137, allocations: 3.984 kB / 353.3 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1371, allocations: 0 / 353.3 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.1372, allocations: 89.33 kB / 353.4 MB, free: 500 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.1372, allocations: 81.05 kB / 353.5 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.1373, allocations: 15.94 kB / 353.5 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.102e-05/0.1373, allocations: 0 / 353.5 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-06/0.1373, allocations: 0 / 353.5 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.1373, allocations: 0 / 353.5 MB, free: 384 kB / 286.1 MB Notification: Performance of sorting global known variables: time 3.752e-05/0.1373, allocations: 91.2 kB / 353.6 MB, free: 292 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1374, allocations: 0 / 353.6 MB, free: 292 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002073/0.1376, allocations: 8 kB / 353.6 MB, free: 284 kB / 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 (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.0001017/0.1377, allocations: 99.19 kB / 353.7 MB, free: 176 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.1378, allocations: 23.98 kB / 353.7 MB, free: 152 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1378, allocations: 0 / 353.7 MB, free: 152 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.255e-06/0.1378, allocations: 4 kB / 353.7 MB, free: 148 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.138, allocations: 29.58 kB / 353.7 MB, free: 120 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.1383, allocations: 115.2 kB / 353.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.1386, allocations: 0.689 MB / 354.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.243e-05/0.1386, allocations: 0 / 354.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.1386, allocations: 7.438 kB / 354.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1387, allocations: 0 / 354.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of Templates: time 0.002157/0.1408, allocations: 308.9 kB / 354.8 MB, free: 14.95 MB / 302.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches