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.0009508/0.0009508, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005523/0.005523, allocations: 162 kB / 24.7 MB, free: 9.426 MB / 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.862/0.862, allocations: 177.1 MB / 205 MB, free: 5.73 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.613e-06/1.613e-06, allocations: 0 / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.241e-05, allocations: 6.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001377/0.0014, allocations: 0.8699 MB / 326.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002847/0.001685, allocations: 127.5 kB / 326.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.3e-05/0.001758, allocations: 3.938 kB / 326.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.651e-05/0.001854, allocations: 3.938 kB / 326.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.001974, allocations: 15.92 kB / 326.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.002149, allocations: 43.78 kB / 326.9 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.606e-05/0.002245, allocations: 39.91 kB / 326.9 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.002342, allocations: 15.97 kB / 326.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.002382, allocations: 23.92 kB / 327 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.61e-05/0.002448, allocations: 15.92 kB / 327 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.00247, allocations: 4 kB / 327 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-06/0.00248, allocations: 4 kB / 327 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.002525, allocations: 19.91 kB / 327 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.002557, allocations: 15.94 kB / 327 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.00267, allocations: 55.8 kB / 327.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.002673, allocations: 4 kB / 327.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.002674, allocations: 0 / 327.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.002679, allocations: 3.984 kB / 327.1 MB, free: 14.2 MB / 298.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.000342/0.003021, allocations: 301.3 kB / 327.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.003058, allocations: 11.97 kB / 327.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.003089, allocations: 12.84 kB / 327.4 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.003244, allocations: 137.6 kB / 327.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.003254, allocations: 4.375 kB / 327.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.003264, allocations: 8.359 kB / 327.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.00348, allocations: 147.8 kB / 327.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.003488, allocations: 192 / 327.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.003497, allocations: 384 / 327.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.003502, allocations: 4.359 kB / 327.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.866e-05/0.003541, allocations: 27.92 kB / 327.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.912e-05/0.00363, allocations: 109.3 kB / 327.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.003748, allocations: 78.58 kB / 327.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.619e-05/0.003794, allocations: 44.89 kB / 327.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.003802, allocations: 0 / 327.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.00382, allocations: 38.5 kB / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.003822, allocations: 0 / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001507/0.003973, allocations: 97.62 kB / 328.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.004018, allocations: 51.41 kB / 328.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.18e-05/0.0041, allocations: 152.7 kB / 328.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.004109, allocations: 25.7 kB / 328.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.004141, allocations: 84.3 kB / 328.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.004153, allocations: 15.88 kB / 328.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.004176, allocations: 17.72 kB / 328.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.004253, allocations: 314.8 kB / 328.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.004263, allocations: 4 kB / 328.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-06/0.004269, allocations: 0 / 328.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.311e-05/0.004292, allocations: 16.84 kB / 328.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.004294, allocations: 0 / 328.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.163e-05/0.004336, allocations: 45.66 kB / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.004346, allocations: 4 kB / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.00435, allocations: 0 / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.004363, allocations: 96 / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.424e-05/0.004407, allocations: 11.94 kB / 328.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.004413, allocations: 3.938 kB / 328.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.777e-06/0.004422, allocations: 0 / 328.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.004426, allocations: 0 / 328.8 MB, free: 12.29 MB / 298.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 6.432e-05/0.00449, allocations: 127.8 kB / 328.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/0.004548, allocations: 77.62 kB / 329 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.00458, allocations: 20.77 kB / 329 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.004581, allocations: 0 / 329 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.004585, allocations: 0 / 329 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.004588, allocations: 11.88 kB / 329 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.599e-05/0.004644, allocations: 117.2 kB / 329.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.004645, allocations: 0 / 329.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.004686, allocations: 15.98 kB / 329.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.004687, allocations: 0 / 329.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.004693, allocations: 4 kB / 329.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.004694, allocations: 3.938 kB / 329.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.004694, allocations: 0 / 329.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.716e-05/0.004771, allocations: 109 kB / 329.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.004802, allocations: 19.94 kB / 329.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.004813, allocations: 0 / 329.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.006e-05/0.004823, allocations: 4 kB / 329.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-06/0.004825, allocations: 4 kB / 329.3 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.004828, allocations: 4 kB / 329.3 MB, free: 11.72 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.283e-05/0.004871, allocations: 107.2 kB / 329.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004871, allocations: 3.938 kB / 329.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001184/0.00499, allocations: 7.938 kB / 329.4 MB, free: 11.6 MB / 298.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.511e-05/0.005055, allocations: 103.2 kB / 329.5 MB, free: 11.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.246e-05/0.005127, allocations: 31.91 kB / 329.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.005129, allocations: 0 / 329.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.9e-07/0.005129, allocations: 4.062 kB / 329.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.005338, allocations: 44.62 kB / 329.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000232/0.00557, allocations: 214.9 kB / 329.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.402e-05/0.005624, allocations: 91 kB / 329.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.005645, allocations: 12.5 kB / 329.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.005645, allocations: 0 / 329.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of Templates: time 0.001518/0.007164, allocations: 0.8265 MB / 330.8 MB, free: 10.21 MB / 298.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=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.114550118334591]