Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 111.6 kB / 17.06 MB, free: 6 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.00124/0.00124, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.404/1.404, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 51.92 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.351, allocations: 49.43 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003124/0.3542, allocations: 1.615 MB / 402.3 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009547/0.3551, allocations: 0.4986 MB / 402.8 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.3553, allocations: 0 / 402.8 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.698e-05/0.3553, allocations: 7.875 kB / 402.9 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.3555, allocations: 15.92 kB / 402.9 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.3558, allocations: 55.81 kB / 402.9 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.356, allocations: 47.8 kB / 403 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.3561, allocations: 23.98 kB / 403 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.3562, allocations: 27.8 kB / 403 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.3563, allocations: 27.84 kB / 403 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.3563, allocations: 4 kB / 403 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.3563, allocations: 4 kB / 403.1 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.824e-05/0.3564, allocations: 15.92 kB / 403.1 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.3564, allocations: 27.81 kB / 403.1 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.3566, allocations: 63.73 kB / 403.2 MB, free: 6.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3566, allocations: 3.984 kB / 403.2 MB, free: 6.445 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3566, allocations: 4 kB / 403.2 MB, free: 6.441 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.3566, allocations: 0 / 403.2 MB, free: 6.441 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005764/0.3572, allocations: 380.3 kB / 403.5 MB, free: 6.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3573, allocations: 11.97 kB / 403.5 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.3573, allocations: 12.75 kB / 403.6 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.3576, allocations: 210.1 kB / 403.8 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3576, allocations: 384 / 403.8 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.3577, allocations: 12.12 kB / 403.8 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.358, allocations: 126.7 kB / 403.9 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.358, allocations: 0 / 403.9 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.358, allocations: 4 kB / 403.9 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.358, allocations: 4 kB / 403.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.937e-05/0.3581, allocations: 27.92 kB / 403.9 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.3585, allocations: 291.4 kB / 404.2 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.3587, allocations: 98.48 kB / 404.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.431e-05/0.3588, allocations: 47.36 kB / 404.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.3588, allocations: 0 / 404.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.3588, allocations: 46.55 kB / 404.4 MB, free: 4.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3588, allocations: 0 / 404.4 MB, free: 4.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003301/0.3592, allocations: 97.45 kB / 404.5 MB, free: 4.875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.009e-05/0.3593, allocations: 137 kB / 404.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.3594, allocations: 143.9 kB / 404.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.3594, allocations: 29.7 kB / 404.8 MB, free: 4.527 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/0.3595, allocations: 92.08 kB / 404.9 MB, free: 4.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.3595, allocations: 11.89 kB / 404.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.3595, allocations: 17.72 kB / 404.9 MB, free: 4.398 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3597, allocations: 318.8 kB / 405.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-05/0.3597, allocations: 8 kB / 405.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.809e-05/0.3598, allocations: 52.22 kB / 405.3 MB, free: 4.004 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.3599, allocations: 60.22 kB / 405.4 MB, free: 3.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3599, allocations: 3.938 kB / 405.4 MB, free: 3.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001515/0.3601, allocations: 85.52 kB / 405.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3601, allocations: 7.938 kB / 405.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3601, allocations: 4 kB / 405.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3601, allocations: 0 / 405.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.871e-05/0.3602, allocations: 11.98 kB / 405.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3602, allocations: 8.156 kB / 405.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.3603, allocations: 11.92 kB / 405.5 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3603, allocations: 0 / 405.5 MB, free: 3.793 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (6): * Single equations (assignments): 6 * 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 8.075e-05/0.3604, allocations: 121.8 kB / 405.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.367e-05/0.3605, allocations: 61.53 kB / 405.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.3605, allocations: 11.88 kB / 405.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3605, allocations: 0 / 405.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3605, allocations: 8.125 kB / 405.7 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3606, allocations: 8 kB / 405.7 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.3607, allocations: 177.5 kB / 405.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3608, allocations: 0 / 405.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.64e-05/0.3608, allocations: 15.98 kB / 405.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3608, allocations: 0 / 405.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3608, allocations: 4 kB / 405.9 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3609, allocations: 3.938 kB / 405.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3609, allocations: 0 / 405.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.3611, allocations: 198 kB / 406.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.3611, allocations: 100.9 kB / 406.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.3612, allocations: 0 / 406.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.3613, allocations: 11.92 kB / 406.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.3613, allocations: 7.938 kB / 406.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3613, allocations: 4 kB / 406.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.024e-05/0.3614, allocations: 122.4 kB / 406.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3614, allocations: 0 / 406.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.3616, allocations: 4 kB / 406.3 MB, free: 2.84 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0001133/0.3617, allocations: 104 kB / 406.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.3619, allocations: 43.91 kB / 406.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3619, allocations: 320 / 406.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.398e-05/0.362, allocations: 16 kB / 406.5 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.3624, allocations: 35.95 kB / 406.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.3629, allocations: 197.9 kB / 406.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.3632, allocations: 0.7042 MB / 407.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.096e-05/0.3632, allocations: 3.984 kB / 407.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.3633, allocations: 11.44 kB / 407.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3633, allocations: 0 / 407.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of Templates: time 0.003235/0.3665, allocations: 0.728 MB / 408.2 MB, free: 0.9375 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches