Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 108.3 kB / 17.06 MB, free: 5.824 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.001721/0.001721, allocations: 191 kB / 18 MB, free: 4.977 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.556/1.556, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 47.92 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3688, allocations: 49.43 MB / 400.7 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002525/0.3714, allocations: 0.9682 MB / 401.7 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003846/0.3718, allocations: 107.6 kB / 401.8 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.015e-05/0.3719, allocations: 4 kB / 401.8 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.003e-05/0.372, allocations: 3.938 kB / 401.8 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.3721, allocations: 19.84 kB / 401.8 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.3724, allocations: 31.92 kB / 401.9 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.3725, allocations: 43.84 kB / 401.9 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3726, allocations: 28.16 kB / 401.9 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.428e-05/0.3727, allocations: 15.88 kB / 401.9 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.3727, allocations: 19.86 kB / 402 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.3728, allocations: 4 kB / 402 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.3728, allocations: 4 kB / 402 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.72e-05/0.3728, allocations: 15.92 kB / 402 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.3729, allocations: 27.81 kB / 402 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.373, allocations: 59.73 kB / 402.1 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.373, allocations: 0 / 402.1 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.373, allocations: 0 / 402.1 MB, free: 7.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.373, allocations: 0 / 402.1 MB, free: 7.559 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000454/0.3735, allocations: 372.3 kB / 402.4 MB, free: 7.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3736, allocations: 12.03 kB / 402.4 MB, free: 7.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.3736, allocations: 8.844 kB / 402.5 MB, free: 7.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.3738, allocations: 196.1 kB / 402.6 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.3738, allocations: 384 / 402.6 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.3739, allocations: 8.375 kB / 402.7 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.3741, allocations: 139.7 kB / 402.8 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3742, allocations: 7.922 kB / 402.8 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3742, allocations: 0 / 402.8 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3742, allocations: 7.984 kB / 402.8 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.234e-05/0.3742, allocations: 12 kB / 402.8 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.3744, allocations: 165.7 kB / 403 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.3746, allocations: 74.69 kB / 403.1 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.364e-05/0.3746, allocations: 36.86 kB / 403.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.3747, allocations: 3.984 kB / 403.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.3747, allocations: 30.56 kB / 403.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.3747, allocations: 0 / 403.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002121/0.3749, allocations: 89.53 kB / 403.2 MB, free: 6.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.375, allocations: 63.41 kB / 403.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.3751, allocations: 132.2 kB / 403.4 MB, free: 6.039 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.3751, allocations: 25.7 kB / 403.4 MB, free: 6.008 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.3752, allocations: 88.14 kB / 403.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.3752, allocations: 11.86 kB / 403.5 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.3752, allocations: 25.62 kB / 403.5 MB, free: 5.875 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3754, allocations: 318.8 kB / 403.9 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.3754, allocations: 12 kB / 403.9 MB, free: 5.543 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.041e-05/0.3754, allocations: 62.8 kB / 403.9 MB, free: 5.457 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.587e-05/0.3755, allocations: 70.75 kB / 404 MB, free: 5.363 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3755, allocations: 4 kB / 404 MB, free: 5.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001283/0.3757, allocations: 93.59 kB / 404.1 MB, free: 5.262 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3757, allocations: 11.92 kB / 404.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3757, allocations: 4 kB / 404.1 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3757, allocations: 0 / 404.1 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.3758, allocations: 16 kB / 404.1 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3758, allocations: 0 / 404.1 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.389e-05/0.3759, allocations: 4 kB / 404.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.515e-06/0.3759, allocations: 4 kB / 404.1 MB, free: 5.223 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.915e-05/0.376, allocations: 125.8 kB / 404.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/0.3761, allocations: 85.73 kB / 404.3 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.524e-05/0.3761, allocations: 12.66 kB / 404.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.3761, allocations: 4 kB / 404.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3761, allocations: 0 / 404.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3761, allocations: 0 / 404.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.3763, allocations: 169.6 kB / 404.5 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3763, allocations: 4 kB / 404.5 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.216e-05/0.3763, allocations: 12 kB / 404.5 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.22e-05/0.3763, allocations: 3.938 kB / 404.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3764, allocations: 3.938 kB / 404.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3764, allocations: 4 kB / 404.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3764, allocations: 4 kB / 404.6 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.3765, allocations: 97.03 kB / 404.7 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.3766, allocations: 100.9 kB / 404.7 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.3766, allocations: 3.984 kB / 404.8 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.96e-05/0.3766, allocations: 4 kB / 404.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-06/0.3766, allocations: 0 / 404.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3766, allocations: 0 / 404.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.347e-05/0.3767, allocations: 109.9 kB / 404.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3767, allocations: 0 / 404.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002119/0.3769, allocations: 12 kB / 404.9 MB, free: 4.379 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: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001114/0.377, allocations: 104 kB / 405 MB, free: 4.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.3772, allocations: 39.88 kB / 405 MB, free: 4.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3772, allocations: 0 / 405 MB, free: 4.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.3772, allocations: 0.5 kB / 405 MB, free: 4.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.3775, allocations: 51.23 kB / 405.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.3778, allocations: 177.8 kB / 405.2 MB, free: 3.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.3781, allocations: 0.6924 MB / 405.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.416e-05/0.3781, allocations: 7.938 kB / 405.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.3782, allocations: 11.44 kB / 406 MB, free: 3.242 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3782, allocations: 0 / 406 MB, free: 3.242 MB / 318.1 MB Notification: Performance of Templates: time 0.003069/0.3812, allocations: 0.6251 MB / 406.6 MB, free: 2.617 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches