Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002887/0.002887, allocations: 213.7 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.69/1.69, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 43.92 kB / 378.3 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3627, allocations: 53.37 MB / 431.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002471/0.3651, allocations: 0.8635 MB / 432.5 MB, free: 6.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003708/0.3655, allocations: 123.6 kB / 432.6 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.3656, allocations: 0 / 432.6 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.3657, allocations: 7.875 kB / 432.6 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.3658, allocations: 11.92 kB / 432.6 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.366, allocations: 39.92 kB / 432.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.3662, allocations: 43.89 kB / 432.7 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.3663, allocations: 15.92 kB / 432.7 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.711e-05/0.3663, allocations: 15.94 kB / 432.7 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.3664, allocations: 19.92 kB / 432.8 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.3665, allocations: 4 kB / 432.8 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.3665, allocations: 4 kB / 432.8 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.3666, allocations: 19.92 kB / 432.8 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.741e-05/0.3666, allocations: 35.72 kB / 432.8 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.3668, allocations: 59.34 kB / 432.9 MB, free: 5.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3668, allocations: 7.938 kB / 432.9 MB, free: 5.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.3668, allocations: 0 / 432.9 MB, free: 5.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.3668, allocations: 0 / 432.9 MB, free: 5.672 MB / 334.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.0005476/0.3673, allocations: 299.6 kB / 433.2 MB, free: 5.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3674, allocations: 8.031 kB / 433.2 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.3674, allocations: 12.84 kB / 433.2 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.3677, allocations: 142.4 kB / 433.3 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3677, allocations: 384 / 433.3 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.3677, allocations: 12.38 kB / 433.4 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.368, allocations: 143.7 kB / 433.5 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.368, allocations: 192 / 433.5 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.368, allocations: 3.938 kB / 433.5 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3681, allocations: 0 / 433.5 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.438e-05/0.3681, allocations: 23.98 kB / 433.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.3683, allocations: 152.7 kB / 433.7 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.3685, allocations: 66.66 kB / 433.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.285e-05/0.3686, allocations: 44.88 kB / 433.8 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.3686, allocations: 0 / 433.8 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.3686, allocations: 34.56 kB / 433.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.3686, allocations: 0 / 433.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002821/0.3689, allocations: 113.9 kB / 433.9 MB, free: 4.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.369, allocations: 55.47 kB / 434 MB, free: 4.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.3691, allocations: 148.5 kB / 434.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.3692, allocations: 25.7 kB / 434.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.3692, allocations: 84.14 kB / 434.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.3692, allocations: 7.953 kB / 434.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/0.3693, allocations: 29.7 kB / 434.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3695, allocations: 322.8 kB / 434.6 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.358e-05/0.3695, allocations: 11.98 kB / 434.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/0.3696, allocations: 50.88 kB / 434.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.969e-05/0.3697, allocations: 82.73 kB / 434.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3697, allocations: 0 / 434.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001484/0.3698, allocations: 89.45 kB / 434.8 MB, free: 3.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.3698, allocations: 15.92 kB / 434.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3698, allocations: 0 / 434.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3699, allocations: 4 kB / 434.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.086e-05/0.37, allocations: 16.19 kB / 434.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.37, allocations: 7.938 kB / 434.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.747e-05/0.37, allocations: 7.938 kB / 434.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.37, allocations: 4 kB / 434.9 MB, free: 3.457 MB / 334.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.0001553/0.3702, allocations: 134 kB / 435 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.3703, allocations: 77.58 kB / 435.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.3703, allocations: 24.62 kB / 435.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3703, allocations: 0 / 435.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3704, allocations: 4 kB / 435.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.3704, allocations: 4 kB / 435.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.3705, allocations: 140.7 kB / 435.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3705, allocations: 0 / 435.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-05/0.3706, allocations: 15.98 kB / 435.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3706, allocations: 7.938 kB / 435.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3706, allocations: 4 kB / 435.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.3706, allocations: 4 kB / 435.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3706, allocations: 0 / 435.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.3708, allocations: 109 kB / 435.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.3708, allocations: 19.94 kB / 435.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.3708, allocations: 3.938 kB / 435.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.174e-05/0.3709, allocations: 3.938 kB / 435.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-06/0.3709, allocations: 4 kB / 435.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.3709, allocations: 4 kB / 435.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.371, allocations: 111.2 kB / 435.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.371, allocations: 0 / 435.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002077/0.3712, allocations: 12 kB / 435.5 MB, free: 2.707 MB / 334.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.0001504/0.3713, allocations: 99.19 kB / 435.6 MB, free: 2.602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.3715, allocations: 52.17 kB / 435.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3715, allocations: 0 / 435.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.3715, allocations: 0 / 435.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.3718, allocations: 52.86 kB / 435.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.3721, allocations: 173.3 kB / 435.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.3726, allocations: 0.7002 MB / 436.6 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.756e-05/0.3727, allocations: 4.922 kB / 436.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.3727, allocations: 11.44 kB / 436.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3727, allocations: 0 / 436.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of Templates: time 0.003197/0.3759, allocations: 0.7406 MB / 437.4 MB, free: 0.8281 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.101560745155439]