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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002504/0.002504, allocations: 145.5 kB / 24.25 MB, free: 188 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 173.4 MB / 200.8 MB, free: 9.293 MB / 186.7 MB " [Timeout remaining time 178] 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=5010,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=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.877e-05, allocations: 2.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002349/0.002377, allocations: 0.8625 MB / 268.2 MB, free: 5.852 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003788/0.002756, allocations: 119.5 kB / 268.3 MB, free: 5.734 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.132e-05/0.002827, allocations: 4 kB / 268.3 MB, free: 5.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.00294, allocations: 11.86 kB / 268.3 MB, free: 5.719 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.003056, allocations: 8 kB / 268.3 MB, free: 5.711 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.003254, allocations: 35.83 kB / 268.3 MB, free: 5.676 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.003376, allocations: 47.89 kB / 268.4 MB, free: 5.629 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.003486, allocations: 15.89 kB / 268.4 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.275e-05/0.003548, allocations: 27.91 kB / 268.4 MB, free: 5.586 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.838e-05/0.003627, allocations: 19.91 kB / 268.5 MB, free: 5.566 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.003648, allocations: 4 kB / 268.5 MB, free: 5.562 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.283e-05/0.003661, allocations: 8 kB / 268.5 MB, free: 5.555 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.003712, allocations: 19.92 kB / 268.5 MB, free: 5.535 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.003754, allocations: 7.938 kB / 268.5 MB, free: 5.527 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.003896, allocations: 63.73 kB / 268.6 MB, free: 5.465 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003898, allocations: 0 / 268.6 MB, free: 5.465 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003899, allocations: 0 / 268.6 MB, free: 5.465 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.003903, allocations: 0 / 268.6 MB, free: 5.465 MB / 250.7 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.0004971/0.0044, allocations: 302 kB / 268.9 MB, free: 5.137 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.004435, allocations: 8.922 kB / 268.9 MB, free: 5.129 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.863e-05/0.004494, allocations: 12.89 kB / 268.9 MB, free: 5.117 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.004735, allocations: 149.5 kB / 269 MB, free: 4.945 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.00475, allocations: 8.375 kB / 269 MB, free: 4.938 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.004764, allocations: 8.312 kB / 269 MB, free: 4.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.005087, allocations: 147.8 kB / 269.2 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.005096, allocations: 192 / 269.2 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.005105, allocations: 384 / 269.2 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.005109, allocations: 384 / 269.2 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.766e-05/0.005167, allocations: 27.92 kB / 269.2 MB, free: 4.746 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.005323, allocations: 117.3 kB / 269.3 MB, free: 4.602 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.005512, allocations: 74.69 kB / 269.4 MB, free: 4.52 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.628e-05/0.005588, allocations: 36.84 kB / 269.4 MB, free: 4.48 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.0056, allocations: 3.938 kB / 269.4 MB, free: 4.477 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.005636, allocations: 38.56 kB / 269.5 MB, free: 4.43 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.005637, allocations: 0 / 269.5 MB, free: 4.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002485/0.005885, allocations: 105.7 kB / 269.6 MB, free: 4.32 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.005952, allocations: 55.41 kB / 269.6 MB, free: 4.254 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.00611, allocations: 148.4 kB / 269.8 MB, free: 4.102 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.006132, allocations: 29.7 kB / 269.8 MB, free: 4.066 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.006196, allocations: 92 kB / 269.9 MB, free: 3.973 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.041e-05/0.006206, allocations: 0 / 269.9 MB, free: 3.973 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.006248, allocations: 21.66 kB / 269.9 MB, free: 3.945 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.006441, allocations: 318.8 kB / 270.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.124e-05/0.006452, allocations: 0 / 270.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.847e-06/0.006461, allocations: 4 kB / 270.2 MB, free: 3.621 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.302e-05/0.006494, allocations: 16.8 kB / 270.2 MB, free: 3.602 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.006496, allocations: 0 / 270.2 MB, free: 3.602 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.054e-05/0.006566, allocations: 45.75 kB / 270.3 MB, free: 3.551 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.006581, allocations: 4 kB / 270.3 MB, free: 3.547 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.006585, allocations: 0 / 270.3 MB, free: 3.547 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.006598, allocations: 4 kB / 270.3 MB, free: 3.543 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-05/0.006642, allocations: 0 / 270.3 MB, free: 3.543 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.006651, allocations: 3.938 kB / 270.3 MB, free: 3.539 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.453e-05/0.006665, allocations: 4 kB / 270.3 MB, free: 3.535 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.00667, allocations: 0 / 270.3 MB, free: 3.535 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001084/0.006778, allocations: 117.8 kB / 270.4 MB, free: 3.41 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.006911, allocations: 93.52 kB / 270.5 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.00695, allocations: 16.81 kB / 270.5 MB, free: 3.293 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.006951, allocations: 0 / 270.5 MB, free: 3.293 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.006954, allocations: 0 / 270.5 MB, free: 3.293 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.006962, allocations: 7.922 kB / 270.5 MB, free: 3.285 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.00707, allocations: 117.3 kB / 270.7 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.007071, allocations: 3.938 kB / 270.7 MB, free: 3.137 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.5e-05/0.007146, allocations: 19.98 kB / 270.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007148, allocations: 0 / 270.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.007155, allocations: 0 / 270.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.007156, allocations: 0 / 270.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007157, allocations: 0 / 270.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.007336, allocations: 117 kB / 270.8 MB, free: 2.984 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.007384, allocations: 23.88 kB / 270.8 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.0074, allocations: 0 / 270.8 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.601e-05/0.007426, allocations: 4 kB / 270.8 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-06/0.007431, allocations: 3.984 kB / 270.8 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.007435, allocations: 0 / 270.8 MB, free: 2.953 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.919e-05/0.007524, allocations: 105.9 kB / 270.9 MB, free: 2.852 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.007524, allocations: 0 / 270.9 MB, free: 2.852 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001928/0.007717, allocations: 15.94 kB / 270.9 MB, free: 2.836 MB / 250.7 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.0001257/0.007843, allocations: 106.8 kB / 271 MB, free: 2.727 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.278e-05/0.007936, allocations: 28.45 kB / 271.1 MB, free: 2.699 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.007937, allocations: 0 / 271.1 MB, free: 2.699 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.007938, allocations: 3.938 kB / 271.1 MB, free: 2.695 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.008253, allocations: 46.03 kB / 271.1 MB, free: 2.652 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.008603, allocations: 181.6 kB / 271.3 MB, free: 2.449 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.436e-05/0.008698, allocations: 87.5 kB / 271.4 MB, free: 2.344 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.388e-05/0.008712, allocations: 0 / 271.4 MB, free: 2.344 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.008746, allocations: 16.56 kB / 271.4 MB, free: 2.324 MB / 250.7 MB Notification: Performance of SimCode: time 3.71e-07/0.008746, allocations: 0 / 271.4 MB, free: 2.324 MB / 250.7 MB Notification: Performance of Templates: time 0.003335/0.01208, allocations: 0.7158 MB / 272.1 MB, free: 1.621 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.167506814002991]