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.0008234/0.0008233, allocations: 92.73 kB / 16.65 MB, free: 6.586 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.001044/0.001044, allocations: 185.3 kB / 17.56 MB, free: 6.203 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.52/1.52, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003794, allocations: 5.688 kB / 301.4 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1392, allocations: 50.4 MB / 351.8 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001886/0.1412, allocations: 1.194 MB / 353 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003113/0.1415, allocations: 100.4 kB / 353.1 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.071e-05/0.1416, allocations: 0 / 353.1 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.1416, allocations: 7.922 kB / 353.1 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.209e-05/0.1417, allocations: 0 / 353.1 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.142, allocations: 19.92 kB / 353.1 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.124e-05/0.1421, allocations: 27.92 kB / 353.2 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1422, allocations: 11.94 kB / 353.2 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.252e-05/0.1423, allocations: 3.984 kB / 353.2 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.1423, allocations: 11.94 kB / 353.2 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.1423, allocations: 0 / 353.2 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.579e-05/0.1424, allocations: 4 kB / 353.2 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.1424, allocations: 7.938 kB / 353.2 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.1425, allocations: 33.64 kB / 353.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.359e-05/0.1426, allocations: 27.88 kB / 353.3 MB, free: 2.004 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1426, allocations: 0 / 353.3 MB, free: 2.004 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1426, allocations: 0 / 353.3 MB, free: 2.004 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1426, allocations: 0 / 353.3 MB, free: 2.004 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.0005338/0.1431, allocations: 343.7 kB / 353.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.1432, allocations: 12.03 kB / 353.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.1432, allocations: 4.844 kB / 353.6 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1435, allocations: 172.4 kB / 353.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1435, allocations: 8.375 kB / 353.8 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.1435, allocations: 384 / 353.8 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.1439, allocations: 115.9 kB / 353.9 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1439, allocations: 4.172 kB / 353.9 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1439, allocations: 7.875 kB / 353.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1439, allocations: 0 / 353.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.1441, allocations: 23.98 kB / 354 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.1442, allocations: 157.7 kB / 354.1 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.1444, allocations: 58.58 kB / 354.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.529e-05/0.1445, allocations: 28.83 kB / 354.2 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.1446, allocations: 0 / 354.2 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1446, allocations: 38.56 kB / 354.2 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.515e-06/0.1446, allocations: 0 / 354.2 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000239/0.1448, allocations: 81.45 kB / 354.3 MB, free: 0.793 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.1449, allocations: 55.41 kB / 354.4 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.443e-05/0.145, allocations: 105.8 kB / 354.5 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.145, allocations: 25.7 kB / 354.5 MB, free: 0.582 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.1451, allocations: 88.14 kB / 354.6 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.1451, allocations: 7.984 kB / 354.6 MB, free: 496 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.1451, allocations: 9.719 kB / 354.6 MB, free: 480 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1453, allocations: 314.8 kB / 354.9 MB, free: 156 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.1453, allocations: 8 kB / 354.9 MB, free: 148 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.082e-05/0.1453, allocations: 31.36 kB / 354.9 MB, free: 104 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.478e-05/0.1454, allocations: 35.44 kB / 355 MB, free: 56 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1454, allocations: 0 / 355 MB, free: 56 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001089/0.1455, allocations: 57.62 kB / 355 MB, free: 15.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1455, allocations: 4 kB / 355 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1455, allocations: 8.062 kB / 355 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1456, allocations: 4 kB / 355 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.59e-05/0.1456, allocations: 4 kB / 355 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1456, allocations: 3.984 kB / 355.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.1457, allocations: 4 kB / 355.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.1457, allocations: 0 / 355.1 MB, free: 15.96 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 7.788e-05/0.1458, allocations: 117.7 kB / 355.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.1459, allocations: 73.52 kB / 355.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.1459, allocations: 11.84 kB / 355.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1459, allocations: 0 / 355.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.146, allocations: 0 / 355.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.146, allocations: 0 / 355.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.1461, allocations: 157.7 kB / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1461, allocations: 0 / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.656e-05/0.1461, allocations: 8 kB / 355.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1461, allocations: 336 / 355.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1462, allocations: 3.938 kB / 355.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1462, allocations: 0 / 355.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1462, allocations: 11.94 kB / 355.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.1463, allocations: 89.03 kB / 355.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.1464, allocations: 85.02 kB / 355.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1464, allocations: 4.188 kB / 355.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.291e-05/0.1465, allocations: 15.98 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-06/0.1465, allocations: 4 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1465, allocations: 0 / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.499e-05/0.1465, allocations: 79.28 kB / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1465, allocations: 0 / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001881/0.1467, allocations: 8 kB / 355.7 MB, free: 15.2 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.0001381/0.1469, allocations: 99.19 kB / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.147, allocations: 28.11 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.147, allocations: 8.062 kB / 355.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.147, allocations: 0 / 355.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.1472, allocations: 23.98 kB / 355.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.1475, allocations: 120.7 kB / 356 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.1478, allocations: 0.6848 MB / 356.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.241e-05/0.1478, allocations: 4 kB / 356.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.1479, allocations: 11.44 kB / 356.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1479, allocations: 0 / 356.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of Templates: time 0.002201/0.1501, allocations: 292.8 kB / 357 MB, free: 13.88 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