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.001119/0.001119, allocations: 87.58 kB / 21.19 MB, free: 3.371 MB / 18.57 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.001315/0.001315, allocations: 165 kB / 24.56 MB, free: 4 kB / 18.57 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 0.897/0.897, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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 1.723e-06/1.723e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.618e-05, allocations: 2.312 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002208/0.002234, allocations: 0.8838 MB / 273.9 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003962/0.002631, allocations: 127.5 kB / 274 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.9e-05/0.00272, allocations: 4 kB / 274 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.002845, allocations: 7.938 kB / 274 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.003007, allocations: 19.91 kB / 274 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.003273, allocations: 35.78 kB / 274 MB, free: 484 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.003411, allocations: 43.91 kB / 274.1 MB, free: 440 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.003573, allocations: 11.98 kB / 274.1 MB, free: 428 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.00364, allocations: 23.92 kB / 274.1 MB, free: 404 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.003735, allocations: 19.91 kB / 274.1 MB, free: 384 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.003769, allocations: 4 kB / 274.1 MB, free: 380 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.551e-05/0.003784, allocations: 4 kB / 274.1 MB, free: 376 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.189e-05/0.003846, allocations: 15.92 kB / 274.2 MB, free: 360 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.003895, allocations: 11.94 kB / 274.2 MB, free: 348 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.004058, allocations: 51.77 kB / 274.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.004061, allocations: 0 / 274.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004062, allocations: 0 / 274.2 MB, free: 296 kB / 250.7 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.004069, allocations: 3.984 kB / 274.2 MB, free: 292 kB / 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.0005593/0.004628, allocations: 408.2 kB / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.004682, allocations: 8.031 kB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.158e-05/0.004744, allocations: 16.89 kB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.004996, allocations: 140.4 kB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.005011, allocations: 4.375 kB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.005029, allocations: 12.36 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.005333, allocations: 117.4 kB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.005344, allocations: 192 / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.005358, allocations: 4.375 kB / 274.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.005368, allocations: 384 / 274.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.322e-05/0.005412, allocations: 19.91 kB / 274.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.005565, allocations: 128.6 kB / 275.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.005736, allocations: 71.12 kB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.448e-05/0.005801, allocations: 31.72 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.005809, allocations: 0 / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.005839, allocations: 37.39 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.005841, allocations: 0 / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002027/0.006043, allocations: 81.72 kB / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.006096, allocations: 55.41 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.006237, allocations: 207.7 kB / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.00625, allocations: 25.7 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.006308, allocations: 130.9 kB / 275.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.266e-05/0.00632, allocations: 8 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.006365, allocations: 23.38 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.006515, allocations: 496.1 kB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.00653, allocations: 4 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.225e-06/0.006538, allocations: 4 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.979e-05/0.006568, allocations: 11.69 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.006571, allocations: 0 / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.386e-05/0.006644, allocations: 49.58 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.006661, allocations: 8 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.006666, allocations: 4.094 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.006681, allocations: 0 / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.285e-05/0.006734, allocations: 0 / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.006739, allocations: 4 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.006756, allocations: 3.938 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.006761, allocations: 0 / 276.3 MB, free: 14 MB / 266.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 8.63e-05/0.006848, allocations: 160.6 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/0.007193, allocations: 69.58 kB / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.007232, allocations: 8.781 kB / 276.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.007237, allocations: 4 kB / 276.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.007241, allocations: 3.938 kB / 276.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.007246, allocations: 11.92 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.154e-05/0.007338, allocations: 124.6 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.00734, allocations: 0 / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.759e-05/0.007417, allocations: 12 kB / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.00742, allocations: 0 / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.00743, allocations: 3.984 kB / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.007433, allocations: 4 kB / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.007434, allocations: 0 / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.007569, allocations: 116.2 kB / 276.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.007611, allocations: 19.83 kB / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.007636, allocations: 12 kB / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.149e-05/0.007657, allocations: 0 / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-06/0.00766, allocations: 0 / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.007667, allocations: 4 kB / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.03e-05/0.007737, allocations: 141.8 kB / 277 MB, free: 13.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007737, allocations: 0 / 277 MB, free: 13.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002135/0.007951, allocations: 8 kB / 277 MB, free: 13.23 MB / 266.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 8.967e-05/0.00804, allocations: 99.19 kB / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.008143, allocations: 31.67 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.008147, allocations: 4 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.008148, allocations: 0 / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.008458, allocations: 34.48 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.008751, allocations: 168 kB / 277.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.25e-05/0.008794, allocations: 63.34 kB / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.406e-05/0.008818, allocations: 7.984 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.008849, allocations: 12.5 kB / 277.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.00885, allocations: 0 / 277.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of Templates: time 0.002954/0.0118, allocations: 0.7389 MB / 278.1 MB, free: 12.03 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6306318850256503]