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.001707/0.001707, allocations: 83.77 kB / 20.68 MB, free: 1.023 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.001694/0.001694, allocations: 164.2 kB / 23.95 MB, free: 4.156 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.578/1.578, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.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 2.004e-06/2.004e-06, allocations: 0 / 325 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/3.003e-05, allocations: 6.219 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002342/0.002372, allocations: 0.8601 MB / 325.9 MB, free: 24 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004359/0.002808, allocations: 129.1 kB / 326 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.228e-05/0.00289, allocations: 2.281 kB / 326 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.003011, allocations: 5.297 kB / 326 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.00316, allocations: 12.84 kB / 326.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.003398, allocations: 41.75 kB / 326.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.003533, allocations: 45.69 kB / 326.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.003674, allocations: 13.7 kB / 326.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.093e-05/0.003735, allocations: 21.52 kB / 326.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.029e-05/0.003825, allocations: 18.48 kB / 326.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.00385, allocations: 7.438 kB / 326.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/0.003865, allocations: 4.531 kB / 326.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.003921, allocations: 17.3 kB / 326.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.003964, allocations: 14.58 kB / 326.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.004117, allocations: 56.8 kB / 326.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.004121, allocations: 1.953 kB / 326.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.004122, allocations: 0 / 326.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.004126, allocations: 0 / 326.3 MB, free: 15.82 MB / 302.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.0005372/0.004663, allocations: 305.5 kB / 326.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.004705, allocations: 9.688 kB / 326.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.004751, allocations: 18.5 kB / 326.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.004993, allocations: 135.3 kB / 326.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.005007, allocations: 2.969 kB / 326.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.005021, allocations: 4.094 kB / 326.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.005381, allocations: 144 kB / 326.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.005392, allocations: 1.594 kB / 326.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.005402, allocations: 8.312 kB / 326.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.005408, allocations: 1.969 kB / 326.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.295e-05/0.005471, allocations: 26.62 kB / 326.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.00564, allocations: 111 kB / 327.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.005834, allocations: 77.91 kB / 327.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.112e-05/0.005916, allocations: 40.7 kB / 327.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/0.005925, allocations: 1.812 kB / 327.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.005959, allocations: 31.72 kB / 327.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.00596, allocations: 0 / 327.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002504/0.00621, allocations: 106.2 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.006279, allocations: 62.47 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.006441, allocations: 148.5 kB / 327.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.006463, allocations: 27.64 kB / 327.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.006524, allocations: 87.22 kB / 327.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.006537, allocations: 4.656 kB / 327.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.006575, allocations: 19.42 kB / 327.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.006771, allocations: 314.6 kB / 328 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.006784, allocations: 1.859 kB / 328 MB, free: 14.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.143e-05/0.006796, allocations: 7.188 kB / 328 MB, free: 14.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.517e-05/0.006821, allocations: 8.672 kB / 328 MB, free: 14.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.006822, allocations: 4.062 kB / 328 MB, free: 14.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.174e-05/0.006894, allocations: 53.3 kB / 328 MB, free: 14.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.006906, allocations: 4.406 kB / 328 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.00691, allocations: 1.281 kB / 328 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.006923, allocations: 0.8438 kB / 328 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.763e-05/0.006971, allocations: 2.656 kB / 328 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.006981, allocations: 6.297 kB / 328 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.431e-05/0.006995, allocations: 0 / 328 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.007001, allocations: 1.156 kB / 328 MB, free: 14.26 MB / 302.1 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 9.952e-05/0.007101, allocations: 125.2 kB / 328.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.00723, allocations: 76.92 kB / 328.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.00727, allocations: 18.06 kB / 328.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.007272, allocations: 0.7188 kB / 328.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.007276, allocations: 0.9688 kB / 328.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.007283, allocations: 4.828 kB / 328.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.007398, allocations: 116.1 kB / 328.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007399, allocations: 0 / 328.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.056e-05/0.007469, allocations: 17.66 kB / 328.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.007472, allocations: 2.688 kB / 328.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.007483, allocations: 4 kB / 328.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.007484, allocations: 4 kB / 328.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.007486, allocations: 0.7969 kB / 328.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.007644, allocations: 108.7 kB / 328.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.007684, allocations: 14.27 kB / 328.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.007705, allocations: 8.406 kB / 328.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.415e-05/0.007729, allocations: 0.7031 kB / 328.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-06/0.007732, allocations: 0 / 328.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.007738, allocations: 2.625 kB / 328.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.25e-05/0.007831, allocations: 108.2 kB / 328.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.007831, allocations: 0 / 328.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001868/0.008018, allocations: 9.5 kB / 328.7 MB, free: 13.75 MB / 302.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.0001205/0.008138, allocations: 112.9 kB / 328.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.008245, allocations: 26.91 kB / 328.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008247, allocations: 0 / 328.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.008248, allocations: 1.188 kB / 328.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.008558, allocations: 49.42 kB / 328.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.008922, allocations: 183.1 kB / 329 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.009043, allocations: 98.86 kB / 329.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.236e-05/0.009066, allocations: 7.156 kB / 329.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.009096, allocations: 10.91 kB / 329.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.009097, allocations: 0 / 329.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of Templates: time 0.003739/0.01284, allocations: 0.7014 MB / 329.8 MB, free: 13.25 MB / 302.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: 4.500400975346565]