Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.001831/0.001831, allocations: 188.5 kB / 18.67 MB, free: 4.441 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.421/1.421, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 51.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3614, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002295/0.3638, allocations: 0.857 MB / 402.2 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000365/0.3642, allocations: 119.6 kB / 402.4 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.3643, allocations: 0 / 402.4 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.3644, allocations: 11.88 kB / 402.4 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.3645, allocations: 7.922 kB / 402.4 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.3647, allocations: 43.89 kB / 402.4 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.3649, allocations: 35.92 kB / 402.5 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.365, allocations: 23.98 kB / 402.5 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.189e-05/0.365, allocations: 15.88 kB / 402.5 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.3651, allocations: 27.91 kB / 402.5 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3652, allocations: 0 / 402.5 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.415e-05/0.3652, allocations: 4 kB / 402.5 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.137e-05/0.3652, allocations: 19.92 kB / 402.6 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.3653, allocations: 27.8 kB / 402.6 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.3654, allocations: 59.73 kB / 402.6 MB, free: 7.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3654, allocations: 4 kB / 402.6 MB, free: 7.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3654, allocations: 0 / 402.6 MB, free: 7.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3655, allocations: 0 / 402.6 MB, free: 7.609 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.0005094/0.366, allocations: 384.2 kB / 403 MB, free: 7.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.366, allocations: 8.031 kB / 403 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.366, allocations: 8.844 kB / 403 MB, free: 7.172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.3663, allocations: 200.1 kB / 403.2 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.3663, allocations: 384 / 403.2 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.3663, allocations: 16.36 kB / 403.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.3666, allocations: 147.7 kB / 403.4 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.3666, allocations: 192 / 403.4 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3667, allocations: 3.938 kB / 403.4 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3667, allocations: 0 / 403.4 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.846e-05/0.3667, allocations: 23.98 kB / 403.4 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.3669, allocations: 169.7 kB / 403.6 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.367, allocations: 78.64 kB / 403.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.983e-05/0.3671, allocations: 45.03 kB / 403.7 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.3671, allocations: 0 / 403.7 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.3672, allocations: 34.56 kB / 403.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.3672, allocations: 0 / 403.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002079/0.3674, allocations: 105.5 kB / 403.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.3675, allocations: 63.34 kB / 403.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3676, allocations: 144.2 kB / 404 MB, free: 6.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.3676, allocations: 25.7 kB / 404.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.3677, allocations: 88.08 kB / 404.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.3677, allocations: 11.98 kB / 404.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.3677, allocations: 21.72 kB / 404.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3678, allocations: 322.8 kB / 404.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.3679, allocations: 12 kB / 404.5 MB, free: 5.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.958e-05/0.3679, allocations: 54.86 kB / 404.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.865e-05/0.368, allocations: 74.75 kB / 404.6 MB, free: 5.344 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.368, allocations: 0 / 404.6 MB, free: 5.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001224/0.3682, allocations: 101.4 kB / 404.7 MB, free: 5.238 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3682, allocations: 7.938 kB / 404.7 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3682, allocations: 7.938 kB / 404.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3682, allocations: 0 / 404.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.376e-05/0.3683, allocations: 19.98 kB / 404.8 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3683, allocations: 0 / 404.8 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.796e-05/0.3684, allocations: 7.906 kB / 404.8 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.3684, allocations: 7.938 kB / 404.8 MB, free: 5.188 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: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * 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 0.0001182/0.3685, allocations: 137.4 kB / 404.9 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.3686, allocations: 81.53 kB / 405 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.3686, allocations: 12.72 kB / 405 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3687, allocations: 0 / 405 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3687, allocations: 4 kB / 405 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3687, allocations: 0 / 405 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.3688, allocations: 169.6 kB / 405.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3688, allocations: 4 kB / 405.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.86e-05/0.3689, allocations: 19.92 kB / 405.2 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3689, allocations: 7.938 kB / 405.2 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.3689, allocations: 0 / 405.2 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3689, allocations: 4 kB / 405.2 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3689, allocations: 0 / 405.2 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.3691, allocations: 113.4 kB / 405.3 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.3691, allocations: 93 kB / 405.4 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.3692, allocations: 7.938 kB / 405.4 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.386e-05/0.3692, allocations: 4 kB / 405.4 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-06/0.3692, allocations: 4 kB / 405.4 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.3692, allocations: 0 / 405.4 MB, free: 4.438 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.639e-05/0.3693, allocations: 111.2 kB / 405.5 MB, free: 4.328 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3693, allocations: 192 / 405.5 MB, free: 4.328 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001985/0.3695, allocations: 4 kB / 405.6 MB, free: 4.324 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * 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.0001085/0.3696, allocations: 115.9 kB / 405.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.3698, allocations: 52.3 kB / 405.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3698, allocations: 0 / 405.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.385e-06/0.3698, allocations: 0 / 405.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.3701, allocations: 59.83 kB / 405.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.3704, allocations: 195.2 kB / 406 MB, free: 3.871 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.3707, allocations: 0.7038 MB / 406.7 MB, free: 3.141 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.3707, allocations: 11.44 kB / 406.7 MB, free: 3.129 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3707, allocations: 0 / 406.7 MB, free: 3.129 MB / 318.1 MB Notification: Performance of Templates: time 0.002423/0.3731, allocations: 0.8817 MB / 407.6 MB, free: 2.25 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches