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.001493/0.001493, allocations: 109.9 kB / 17.06 MB, free: 6.012 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.001227/0.001228, allocations: 191 kB / 18 MB, free: 5.094 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.636/1.636, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 51.92 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.4526, allocations: 49.42 MB / 400.7 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003566/0.4563, allocations: 1.475 MB / 402.2 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004075/0.4567, allocations: 99.62 kB / 402.3 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.768e-05/0.4568, allocations: 0 / 402.3 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.4569, allocations: 0 / 402.3 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.4569, allocations: 3.938 kB / 402.3 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.4573, allocations: 27.91 kB / 402.3 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.4574, allocations: 31.86 kB / 402.4 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.4576, allocations: 19.92 kB / 402.4 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.784e-05/0.4576, allocations: 4 kB / 402.4 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.034e-05/0.4577, allocations: 11.92 kB / 402.4 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.4578, allocations: 4 kB / 402.4 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.621e-05/0.4578, allocations: 4 kB / 402.4 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.4578, allocations: 7.922 kB / 402.4 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.4579, allocations: 11.94 kB / 402.4 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.458, allocations: 27.91 kB / 402.4 MB, free: 7.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.458, allocations: 0 / 402.4 MB, free: 7.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.11e-06/0.458, allocations: 4 kB / 402.4 MB, free: 7.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.458, allocations: 0 / 402.4 MB, free: 7.32 MB / 318.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.0007656/0.4588, allocations: 340.7 kB / 402.8 MB, free: 6.938 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.593e-05/0.4589, allocations: 8.031 kB / 402.8 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.523e-05/0.4589, allocations: 4.938 kB / 402.8 MB, free: 6.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.4594, allocations: 188.1 kB / 403 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.4594, allocations: 4.375 kB / 403 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.4594, allocations: 384 / 403 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004797/0.4599, allocations: 107.9 kB / 403.1 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.4599, allocations: 192 / 403.1 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.4599, allocations: 7.875 kB / 403.1 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.46, allocations: 0 / 403.1 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.4601, allocations: 23.97 kB / 403.1 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.4603, allocations: 153.7 kB / 403.3 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.4605, allocations: 58.52 kB / 403.3 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.428e-05/0.4606, allocations: 28.88 kB / 403.4 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.4606, allocations: 0 / 403.4 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.4607, allocations: 34.56 kB / 403.4 MB, free: 6.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4607, allocations: 0 / 403.4 MB, free: 6.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003004/0.461, allocations: 77.52 kB / 403.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.461, allocations: 51.41 kB / 403.5 MB, free: 6.066 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.4612, allocations: 109.8 kB / 403.6 MB, free: 5.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.4612, allocations: 25.7 kB / 403.6 MB, free: 5.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.4612, allocations: 88.14 kB / 403.7 MB, free: 5.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.4613, allocations: 0 / 403.7 MB, free: 5.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.4613, allocations: 17.72 kB / 403.7 MB, free: 5.805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.4615, allocations: 314.8 kB / 404.1 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.4615, allocations: 4 kB / 404.1 MB, free: 5.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.801e-05/0.4616, allocations: 27.44 kB / 404.1 MB, free: 5.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.357e-05/0.4616, allocations: 35.38 kB / 404.1 MB, free: 5.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4617, allocations: 4 kB / 404.1 MB, free: 5.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.312e-05/0.4617, allocations: 53.62 kB / 404.2 MB, free: 5.336 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4618, allocations: 11.94 kB / 404.2 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.4618, allocations: 3.938 kB / 404.2 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.4618, allocations: 0 / 404.2 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.796e-05/0.4619, allocations: 11.98 kB / 404.2 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.4619, allocations: 3.938 kB / 404.2 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.182e-05/0.462, allocations: 0 / 404.2 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.462, allocations: 4.125 kB / 404.2 MB, free: 5.301 MB / 318.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 0.0001376/0.4621, allocations: 113.8 kB / 404.3 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.4623, allocations: 57.59 kB / 404.4 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.095e-05/0.4623, allocations: 15.83 kB / 404.4 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.4623, allocations: 0 / 404.4 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.4623, allocations: 256 / 404.4 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.4624, allocations: 4 kB / 404.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.4626, allocations: 157.7 kB / 404.6 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4626, allocations: 3.938 kB / 404.6 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.562e-05/0.4626, allocations: 11.98 kB / 404.6 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.4626, allocations: 3.938 kB / 404.6 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.4627, allocations: 7.938 kB / 404.6 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4627, allocations: 0 / 404.6 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4627, allocations: 0 / 404.6 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.4629, allocations: 81.11 kB / 404.7 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.4629, allocations: 84.95 kB / 404.7 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.463, allocations: 7.938 kB / 404.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.611e-05/0.463, allocations: 4 kB / 404.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-06/0.463, allocations: 384 / 404.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.463, allocations: 0 / 404.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.551e-05/0.4631, allocations: 87.27 kB / 404.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4631, allocations: 4 kB / 404.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.4633, allocations: 0 / 404.8 MB, free: 4.559 MB / 318.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.0001397/0.4635, allocations: 104 kB / 404.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.4636, allocations: 27.92 kB / 405 MB, free: 4.422 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4636, allocations: 0 / 405 MB, free: 4.422 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.4637, allocations: 0 / 405 MB, free: 4.422 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.4639, allocations: 31.94 kB / 405 MB, free: 4.391 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.4643, allocations: 113.6 kB / 405.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.4646, allocations: 0.6844 MB / 405.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.772e-05/0.4646, allocations: 4.25 kB / 405.8 MB, free: 3.539 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.4647, allocations: 11.44 kB / 405.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4647, allocations: 0 / 405.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of Templates: time 0.002611/0.4673, allocations: 324 kB / 406.1 MB, free: 3.215 MB / 318.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