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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002632/0.002632, allocations: 95.86 kB / 20.96 MB, free: 3.461 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.003017/0.003017, allocations: 149.1 kB / 24.26 MB, free: 168 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.53/1.53, allocations: 173.3 MB / 200.8 MB, free: 9.324 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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,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=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/2.993e-05, allocations: 6.25 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002272/0.002302, allocations: 0.9574 MB / 268.3 MB, free: 5.766 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003741/0.002676, allocations: 127.5 kB / 268.4 MB, free: 5.641 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.726e-05/0.002743, allocations: 0 / 268.4 MB, free: 5.641 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.23e-05/0.002795, allocations: 3.938 kB / 268.4 MB, free: 5.637 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.002932, allocations: 11.94 kB / 268.4 MB, free: 5.625 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.003161, allocations: 35.89 kB / 268.5 MB, free: 5.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.003273, allocations: 47.84 kB / 268.5 MB, free: 5.543 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.042e-05/0.003363, allocations: 12.17 kB / 268.5 MB, free: 5.527 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.95e-05/0.003422, allocations: 27.91 kB / 268.5 MB, free: 5.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.169e-05/0.003474, allocations: 15.92 kB / 268.6 MB, free: 5.484 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.003496, allocations: 4 kB / 268.6 MB, free: 5.48 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.354e-05/0.003509, allocations: 4 kB / 268.6 MB, free: 5.477 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.911e-05/0.003558, allocations: 11.98 kB / 268.6 MB, free: 5.465 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.003594, allocations: 11.92 kB / 268.6 MB, free: 5.453 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.003727, allocations: 59.73 kB / 268.7 MB, free: 5.395 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003729, allocations: 0 / 268.7 MB, free: 5.395 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.003729, allocations: 0 / 268.7 MB, free: 5.395 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.003733, allocations: 7.938 kB / 268.7 MB, free: 5.387 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.0005302/0.004263, allocations: 407.9 kB / 269.1 MB, free: 4.953 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.0043, allocations: 8.922 kB / 269.1 MB, free: 4.945 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.004354, allocations: 16.89 kB / 269.1 MB, free: 4.93 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.004574, allocations: 147.2 kB / 269.2 MB, free: 4.762 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.004587, allocations: 4.375 kB / 269.2 MB, free: 4.758 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.004599, allocations: 4.375 kB / 269.2 MB, free: 4.754 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.004881, allocations: 137.5 kB / 269.4 MB, free: 4.605 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.00489, allocations: 4.125 kB / 269.4 MB, free: 4.602 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.004898, allocations: 384 / 269.4 MB, free: 4.602 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.00491, allocations: 8.125 kB / 269.4 MB, free: 4.594 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/0.00495, allocations: 12 kB / 269.4 MB, free: 4.582 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.005112, allocations: 128.6 kB / 269.5 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.005282, allocations: 79.17 kB / 269.6 MB, free: 4.332 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.86e-05/0.00535, allocations: 39.81 kB / 269.6 MB, free: 4.289 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.005364, allocations: 8 kB / 269.6 MB, free: 4.281 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.005393, allocations: 33.39 kB / 269.7 MB, free: 4.238 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.005394, allocations: 0 / 269.7 MB, free: 4.238 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002144/0.005609, allocations: 93.58 kB / 269.8 MB, free: 4.141 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.005668, allocations: 59.36 kB / 269.8 MB, free: 4.07 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.005838, allocations: 197.8 kB / 270 MB, free: 3.859 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.005862, allocations: 25.7 kB / 270 MB, free: 3.828 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.908e-05/0.005951, allocations: 142.7 kB / 270.2 MB, free: 3.684 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.916e-06/0.00596, allocations: 0 / 270.2 MB, free: 3.684 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.006001, allocations: 23.36 kB / 270.2 MB, free: 3.652 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002768/0.006277, allocations: 0.4884 MB / 270.7 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.006288, allocations: 4 kB / 270.7 MB, free: 3.148 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-06/0.006296, allocations: 4 kB / 270.7 MB, free: 3.145 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/0.006327, allocations: 15.69 kB / 270.7 MB, free: 3.125 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.006328, allocations: 0 / 270.7 MB, free: 3.125 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.195e-05/0.0064, allocations: 49.58 kB / 270.8 MB, free: 3.07 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.006414, allocations: 8 kB / 270.8 MB, free: 3.062 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.006418, allocations: 0 / 270.8 MB, free: 3.062 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.006429, allocations: 0 / 270.8 MB, free: 3.062 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.603e-05/0.006465, allocations: 0 / 270.8 MB, free: 3.062 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.006472, allocations: 12.03 kB / 270.8 MB, free: 3.051 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.211e-05/0.006484, allocations: 0 / 270.8 MB, free: 3.051 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.006488, allocations: 0 / 270.8 MB, free: 3.051 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: 0 () * 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.000119/0.006607, allocations: 160.6 kB / 270.9 MB, free: 2.883 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.006709, allocations: 69.64 kB / 271 MB, free: 2.809 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.00675, allocations: 12.78 kB / 271 MB, free: 2.793 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.006753, allocations: 7.938 kB / 271 MB, free: 2.785 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.006759, allocations: 3.984 kB / 271 MB, free: 2.781 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.006771, allocations: 7.875 kB / 271 MB, free: 2.773 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.006889, allocations: 124.6 kB / 271.2 MB, free: 2.617 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.006892, allocations: 12 kB / 271.2 MB, free: 2.605 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.164e-05/0.006943, allocations: 8 kB / 271.2 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.006945, allocations: 0 / 271.2 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.006953, allocations: 7.984 kB / 271.2 MB, free: 2.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006954, allocations: 0 / 271.2 MB, free: 2.59 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006955, allocations: 0 / 271.2 MB, free: 2.59 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.007115, allocations: 120.3 kB / 271.3 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.007153, allocations: 15.89 kB / 271.3 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.007171, allocations: 7.984 kB / 271.3 MB, free: 2.426 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.707e-05/0.007188, allocations: 3.938 kB / 271.3 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-06/0.00719, allocations: 0 / 271.3 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.007198, allocations: 8 kB / 271.3 MB, free: 2.414 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.007299, allocations: 145.7 kB / 271.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007299, allocations: 0 / 271.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.007474, allocations: 7.938 kB / 271.5 MB, free: 2.266 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: 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.0001016/0.007575, allocations: 95.25 kB / 271.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.007686, allocations: 36.14 kB / 271.6 MB, free: 2.125 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007687, allocations: 0 / 271.6 MB, free: 2.125 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.007688, allocations: 0 / 271.6 MB, free: 2.125 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.007968, allocations: 42.42 kB / 271.7 MB, free: 2.082 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.008262, allocations: 174.8 kB / 271.8 MB, free: 1.887 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.602e-05/0.008348, allocations: 87.25 kB / 271.9 MB, free: 1.781 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.371e-05/0.008362, allocations: 3.984 kB / 271.9 MB, free: 1.777 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.008395, allocations: 12.5 kB / 271.9 MB, free: 1.766 MB / 250.7 MB Notification: Performance of SimCode: time 4.41e-07/0.008395, allocations: 0 / 271.9 MB, free: 1.766 MB / 250.7 MB Notification: Performance of Templates: time 0.003149/0.01154, allocations: 0.6213 MB / 272.6 MB, free: 1.152 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 240] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.310980067006312]