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.001501/0.001501, allocations: 108.1 kB / 17.06 MB, free: 6.023 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.001468/0.001468, allocations: 192 kB / 17.99 MB, free: 5.109 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.559/1.559, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001009/0.001009, allocations: 47.94 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3527, allocations: 49.44 MB / 400.7 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002648/0.3554, allocations: 1.455 MB / 402.2 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000301/0.3557, allocations: 103.6 kB / 402.3 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.3558, allocations: 0 / 402.3 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.3559, allocations: 7.922 kB / 402.3 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.3559, allocations: 0 / 402.3 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.3562, allocations: 27.91 kB / 402.3 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.571e-05/0.3563, allocations: 23.94 kB / 402.3 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3564, allocations: 27.83 kB / 402.4 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.164e-05/0.3565, allocations: 8 kB / 402.4 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.609e-05/0.3565, allocations: 15.92 kB / 402.4 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.3565, allocations: 0 / 402.4 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.3566, allocations: 4 kB / 402.4 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.3566, allocations: 3.938 kB / 402.4 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.3566, allocations: 11.94 kB / 402.4 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.014e-05/0.3567, allocations: 31.91 kB / 402.4 MB, free: 7.301 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3567, allocations: 0 / 402.4 MB, free: 7.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3567, allocations: 0 / 402.4 MB, free: 7.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3568, allocations: 0 / 402.4 MB, free: 7.301 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.0004586/0.3572, allocations: 344.7 kB / 402.8 MB, free: 6.914 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3573, allocations: 12.03 kB / 402.8 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.3573, allocations: 4.875 kB / 402.8 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.3575, allocations: 180.2 kB / 403 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.3575, allocations: 4.375 kB / 403 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.3575, allocations: 384 / 403 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.3579, allocations: 111.9 kB / 403.1 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3579, allocations: 192 / 403.1 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.358, allocations: 7.875 kB / 403.1 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.358, allocations: 4 kB / 403.1 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.761e-05/0.358, allocations: 11.98 kB / 403.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.3582, allocations: 161.7 kB / 403.3 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.3583, allocations: 58.48 kB / 403.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.732e-05/0.3584, allocations: 28.92 kB / 403.4 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.3584, allocations: 0 / 403.4 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.3584, allocations: 30.56 kB / 403.4 MB, free: 6.191 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3585, allocations: 0 / 403.4 MB, free: 6.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002049/0.3587, allocations: 81.45 kB / 403.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.3587, allocations: 55.41 kB / 403.5 MB, free: 6.039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.27e-05/0.3588, allocations: 101.8 kB / 403.6 MB, free: 5.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.3588, allocations: 29.7 kB / 403.6 MB, free: 5.895 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.3589, allocations: 84.14 kB / 403.7 MB, free: 5.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.403e-06/0.3589, allocations: 0 / 403.7 MB, free: 5.809 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.3589, allocations: 17.72 kB / 403.7 MB, free: 5.785 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3591, allocations: 318.8 kB / 404.1 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.3591, allocations: 4 kB / 404.1 MB, free: 5.461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.064e-05/0.3591, allocations: 27.44 kB / 404.1 MB, free: 5.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.132e-05/0.3592, allocations: 39.36 kB / 404.1 MB, free: 5.371 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3592, allocations: 4 kB / 404.1 MB, free: 5.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.825e-05/0.3592, allocations: 45.64 kB / 404.2 MB, free: 5.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3593, allocations: 8 kB / 404.2 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3593, allocations: 7.875 kB / 404.2 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3593, allocations: 3.984 kB / 404.2 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.745e-05/0.3593, allocations: 11.94 kB / 404.2 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3593, allocations: 0 / 404.2 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.047e-05/0.3594, allocations: 4 kB / 404.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.3594, allocations: 4.125 kB / 404.2 MB, free: 5.277 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 6.757e-05/0.3595, allocations: 113.8 kB / 404.3 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-05/0.3596, allocations: 61.84 kB / 404.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.3596, allocations: 15.84 kB / 404.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.3596, allocations: 0 / 404.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3596, allocations: 0 / 404.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3596, allocations: 0 / 404.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.184e-05/0.3597, allocations: 157.6 kB / 404.6 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3597, allocations: 3.938 kB / 404.6 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.607e-05/0.3598, allocations: 15.98 kB / 404.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3598, allocations: 0 / 404.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3598, allocations: 3.938 kB / 404.6 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3598, allocations: 0 / 404.6 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3598, allocations: 0 / 404.6 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.3599, allocations: 81.36 kB / 404.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.36, allocations: 88.95 kB / 404.7 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.36, allocations: 11.94 kB / 404.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/0.36, allocations: 0 / 404.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-06/0.3601, allocations: 0 / 404.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.3601, allocations: 4 kB / 404.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.031e-05/0.3601, allocations: 87.27 kB / 404.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3601, allocations: 0 / 404.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001789/0.3603, allocations: 4 kB / 404.9 MB, free: 4.531 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.0001048/0.3604, allocations: 103.9 kB / 405 MB, free: 4.422 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.3605, allocations: 27.98 kB / 405 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3605, allocations: 0 / 405 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.3605, allocations: 0 / 405 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.3608, allocations: 23.92 kB / 405 MB, free: 4.371 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.361, allocations: 113.6 kB / 405.1 MB, free: 4.234 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.3613, allocations: 0.6844 MB / 405.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.716e-05/0.3613, allocations: 4.25 kB / 405.8 MB, free: 3.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.3614, allocations: 11.44 kB / 405.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3614, allocations: 0 / 405.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of Templates: time 0.002605/0.364, allocations: 316.6 kB / 406.1 MB, free: 3.199 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