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.0008146/0.0008146, allocations: 84 kB / 21.43 MB, free: 3.121 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.003128/0.003128, allocations: 149.6 kB / 24.68 MB, free: 9.438 MB / 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 0.8518/0.8518, allocations: 173.4 MB / 201.2 MB, free: 9.449 MB / 186.7 MB " [Timeout remaining time 179] 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.353e-06/1.353e-06, allocations: 0 / 319.7 MB, free: 5.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.722e-05, allocations: 6.219 kB / 319.7 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001278/0.001295, allocations: 0.8545 MB / 320.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000262/0.001557, allocations: 127.5 kB / 320.7 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.754e-05/0.001625, allocations: 3.938 kB / 320.7 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.263e-05/0.001708, allocations: 7.938 kB / 320.7 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.001818, allocations: 15.86 kB / 320.7 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.001977, allocations: 31.91 kB / 320.7 MB, free: 4.711 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.16e-05/0.002069, allocations: 51.78 kB / 320.8 MB, free: 4.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.171e-05/0.00216, allocations: 23.92 kB / 320.8 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.716e-05/0.002198, allocations: 27.91 kB / 320.8 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.949e-05/0.002257, allocations: 15.92 kB / 320.8 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.002281, allocations: 4 kB / 320.8 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-06/0.00229, allocations: 4 kB / 320.8 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.967e-05/0.00233, allocations: 19.92 kB / 320.9 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.689e-05/0.002356, allocations: 11.94 kB / 320.9 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.806e-05/0.002454, allocations: 55.78 kB / 320.9 MB, free: 4.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002456, allocations: 0 / 320.9 MB, free: 4.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.002457, allocations: 0 / 320.9 MB, free: 4.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.00246, allocations: 4 kB / 320.9 MB, free: 4.496 MB / 282.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.0003249/0.002785, allocations: 306 kB / 321.2 MB, free: 4.164 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.002815, allocations: 8.922 kB / 321.2 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.002841, allocations: 8.891 kB / 321.2 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.002991, allocations: 141.6 kB / 321.4 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.003, allocations: 384 / 321.4 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.00301, allocations: 8.375 kB / 321.4 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.003221, allocations: 143.8 kB / 321.5 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.003228, allocations: 192 / 321.5 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.003238, allocations: 4.375 kB / 321.5 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.003242, allocations: 384 / 321.5 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.662e-05/0.003278, allocations: 27.86 kB / 321.6 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.641e-05/0.003375, allocations: 121.3 kB / 321.7 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.003483, allocations: 66.7 kB / 321.8 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.228e-05/0.003525, allocations: 36.89 kB / 321.8 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.003535, allocations: 3.984 kB / 321.8 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.003553, allocations: 38.56 kB / 321.8 MB, free: 3.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 5.72e-07/0.003554, allocations: 3.938 kB / 321.8 MB, free: 3.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001515/0.003705, allocations: 105.8 kB / 321.9 MB, free: 3.367 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.003747, allocations: 59.41 kB / 322 MB, free: 3.297 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.601e-05/0.003823, allocations: 144.6 kB / 322.1 MB, free: 3.148 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.003832, allocations: 25.7 kB / 322.2 MB, free: 3.117 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.003869, allocations: 88.14 kB / 322.2 MB, free: 3.027 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.006e-05/0.003879, allocations: 3.984 kB / 322.2 MB, free: 3.023 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.003903, allocations: 21.67 kB / 322.3 MB, free: 2.996 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.003971, allocations: 314.8 kB / 322.6 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-06/0.003981, allocations: 8 kB / 322.6 MB, free: 2.672 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.578e-06/0.003985, allocations: 0 / 322.6 MB, free: 2.672 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.942e-05/0.004005, allocations: 16.78 kB / 322.6 MB, free: 2.652 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.004006, allocations: 3.938 kB / 322.6 MB, free: 2.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.693e-05/0.004043, allocations: 41.7 kB / 322.6 MB, free: 2.602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/0.004052, allocations: 7.938 kB / 322.7 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.004056, allocations: 0 / 322.7 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.004066, allocations: 0 / 322.7 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.434e-05/0.0041, allocations: 4 kB / 322.7 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.004105, allocations: 4.031 kB / 322.7 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.835e-06/0.004113, allocations: 4 kB / 322.7 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.004116, allocations: 0 / 322.7 MB, free: 2.582 MB / 282.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 5.499e-05/0.004171, allocations: 125.8 kB / 322.8 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.004229, allocations: 85.53 kB / 322.9 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.004254, allocations: 12.77 kB / 322.9 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.004258, allocations: 8 kB / 322.9 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.004261, allocations: 0 / 322.9 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.004265, allocations: 3.938 kB / 322.9 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.868e-05/0.004314, allocations: 117.2 kB / 323 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.004314, allocations: 0 / 323 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.004353, allocations: 19.98 kB / 323 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.81e-07/0.004354, allocations: 0 / 323 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.004359, allocations: 0 / 323 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.004359, allocations: 0 / 323 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.00436, allocations: 4 kB / 323 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.71e-05/0.004437, allocations: 116.9 kB / 323.1 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.004465, allocations: 19.94 kB / 323.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.004475, allocations: 0 / 323.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-06/0.004484, allocations: 0 / 323.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-06/0.004487, allocations: 0 / 323.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.00449, allocations: 4 kB / 323.2 MB, free: 2.008 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.383e-05/0.004533, allocations: 115.2 kB / 323.3 MB, free: 1.895 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004533, allocations: 0 / 323.3 MB, free: 1.895 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001192/0.004653, allocations: 11.94 kB / 323.3 MB, free: 1.883 MB / 282.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 6.349e-05/0.004716, allocations: 99.25 kB / 323.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.91e-05/0.004795, allocations: 35.86 kB / 323.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.004796, allocations: 0 / 323.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.2e-07/0.004797, allocations: 0 / 323.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.004992, allocations: 38.52 kB / 323.5 MB, free: 1.707 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002093/0.005201, allocations: 202.9 kB / 323.7 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.737e-05/0.005248, allocations: 87.25 kB / 323.7 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.005268, allocations: 16.5 kB / 323.8 MB, free: 1.352 MB / 282.7 MB Notification: Performance of SimCode: time 2.5e-07/0.005268, allocations: 0 / 323.8 MB, free: 1.352 MB / 282.7 MB Notification: Performance of Templates: time 0.001391/0.00666, allocations: 0.8302 MB / 324.6 MB, free: 0.5273 MB / 282.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: 3.977606400847435]