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.001635/0.001635, 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.001625/0.001625, 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.571/1.571, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 47.92 kB / 351.3 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4241, allocations: 49.42 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002638/0.4268, allocations: 0.9575 MB / 401.7 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004054/0.4272, allocations: 115.6 kB / 401.8 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.08e-05/0.4273, allocations: 7.938 kB / 401.8 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.947e-05/0.4274, allocations: 7.922 kB / 401.8 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.4275, allocations: 11.94 kB / 401.8 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.4278, allocations: 42.77 kB / 401.9 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.4279, allocations: 39.86 kB / 401.9 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.428, allocations: 24.17 kB / 401.9 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/0.4281, allocations: 15.92 kB / 401.9 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.486e-05/0.4281, allocations: 19.88 kB / 402 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.4281, allocations: 4 kB / 402 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.4282, allocations: 4 kB / 402 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.4282, allocations: 15.92 kB / 402 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.143e-05/0.4283, allocations: 31.78 kB / 402 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.4284, allocations: 55.7 kB / 402.1 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4284, allocations: 0 / 402.1 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.4285, allocations: 0 / 402.1 MB, free: 7.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.4285, allocations: 4 kB / 402.1 MB, free: 7.539 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.000475/0.429, allocations: 372.3 kB / 402.4 MB, free: 7.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.429, allocations: 8.031 kB / 402.4 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.429, allocations: 8.844 kB / 402.5 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.4293, allocations: 196.1 kB / 402.6 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.4293, allocations: 4.375 kB / 402.6 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.4293, allocations: 8.312 kB / 402.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.4296, allocations: 139.7 kB / 402.8 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4296, allocations: 3.938 kB / 402.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4296, allocations: 0 / 402.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4296, allocations: 0 / 402.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.388e-05/0.4297, allocations: 15.98 kB / 402.8 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.4299, allocations: 169.6 kB / 403 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.43, allocations: 74.66 kB / 403.1 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.81e-05/0.4301, allocations: 36.89 kB / 403.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.4301, allocations: 7.984 kB / 403.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.4301, allocations: 30.56 kB / 403.1 MB, free: 6.324 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.4301, allocations: 0 / 403.1 MB, free: 6.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002054/0.4303, allocations: 89.62 kB / 403.2 MB, free: 6.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.4304, allocations: 63.39 kB / 403.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.4305, allocations: 137.8 kB / 403.4 MB, free: 6.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.4305, allocations: 33.64 kB / 403.4 MB, free: 5.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.4306, allocations: 84.14 kB / 403.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.4306, allocations: 7.938 kB / 403.5 MB, free: 5.879 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.4307, allocations: 25.61 kB / 403.6 MB, free: 5.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.4308, allocations: 318.8 kB / 403.9 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.4308, allocations: 8 kB / 403.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-05/0.4309, allocations: 62.8 kB / 403.9 MB, free: 5.434 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.22e-05/0.4309, allocations: 70.81 kB / 404 MB, free: 5.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.431, allocations: 0 / 404 MB, free: 5.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001202/0.4311, allocations: 93.39 kB / 404.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4311, allocations: 14.22 kB / 404.1 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.4311, allocations: 4 kB / 404.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4311, allocations: 4 kB / 404.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.287e-05/0.4312, allocations: 15.98 kB / 404.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.4312, allocations: 7.938 kB / 404.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.4313, allocations: 0 / 404.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.4313, allocations: 4 kB / 404.1 MB, free: 5.195 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 8.794e-05/0.4314, allocations: 121.8 kB / 404.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.101e-05/0.4315, allocations: 81.41 kB / 404.3 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.4315, allocations: 16.72 kB / 404.4 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.4315, allocations: 0 / 404.4 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4315, allocations: 0 / 404.4 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4315, allocations: 3.984 kB / 404.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.4316, allocations: 169.7 kB / 404.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4317, allocations: 0 / 404.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.4317, allocations: 19.98 kB / 404.6 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.4317, allocations: 3.938 kB / 404.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.4317, allocations: 0 / 404.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4317, allocations: 0 / 404.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4317, allocations: 0 / 404.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.4319, allocations: 101 kB / 404.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.4319, allocations: 104.9 kB / 404.8 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.432, allocations: 3.938 kB / 404.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.734e-05/0.432, allocations: 0 / 404.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-06/0.432, allocations: 0 / 404.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.432, allocations: 4 kB / 404.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.859e-05/0.4321, allocations: 103.4 kB / 404.9 MB, free: 4.371 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4321, allocations: 0 / 404.9 MB, free: 4.371 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000214/0.4323, allocations: 19.94 kB / 404.9 MB, free: 4.352 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.0001137/0.4324, allocations: 99.98 kB / 405 MB, free: 4.246 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.4326, allocations: 47.91 kB / 405 MB, free: 4.199 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4326, allocations: 0 / 405 MB, free: 4.199 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.4326, allocations: 0 / 405 MB, free: 4.199 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.4329, allocations: 50.83 kB / 405.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.4332, allocations: 174.2 kB / 405.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.4335, allocations: 0.6924 MB / 405.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.062e-05/0.4335, allocations: 3.984 kB / 405.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.4336, allocations: 11.44 kB / 406 MB, free: 3.223 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4336, allocations: 0 / 406 MB, free: 3.223 MB / 318.1 MB Notification: Performance of Templates: time 0.002865/0.4364, allocations: 0.6212 MB / 406.6 MB, free: 2.602 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