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.001085/0.001085, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.0009972/0.0009972, allocations: 161 kB / 24.56 MB, free: 8 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 1.061/1.061, allocations: 177.1 MB / 205 MB, free: 5.621 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.553e-06/1.553e-06, allocations: 0 / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.283e-05, allocations: 2.312 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001623/0.001646, allocations: 0.8842 MB / 273.9 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003211/0.001967, allocations: 127.5 kB / 274 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.865e-05/0.002045, allocations: 4 kB / 274 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.002152, allocations: 3.938 kB / 274 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.002286, allocations: 11.91 kB / 274 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.002475, allocations: 39.8 kB / 274 MB, free: 500 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.00258, allocations: 43.89 kB / 274.1 MB, free: 456 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.002693, allocations: 19.98 kB / 274.1 MB, free: 436 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.354e-05/0.002736, allocations: 19.92 kB / 274.1 MB, free: 416 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.091e-05/0.002817, allocations: 23.91 kB / 274.1 MB, free: 392 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.002837, allocations: 0 / 274.1 MB, free: 392 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.002848, allocations: 4 kB / 274.1 MB, free: 388 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.002895, allocations: 19.92 kB / 274.2 MB, free: 368 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.002932, allocations: 11.94 kB / 274.2 MB, free: 356 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.003043, allocations: 43.83 kB / 274.2 MB, free: 312 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.003046, allocations: 7.938 kB / 274.2 MB, free: 304 kB / 250.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003047, allocations: 0 / 274.2 MB, free: 304 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.003052, allocations: 3.984 kB / 274.2 MB, free: 300 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.0003951/0.003447, allocations: 404.3 kB / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.003485, allocations: 11.97 kB / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.003522, allocations: 12.89 kB / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.003683, allocations: 140.4 kB / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.003694, allocations: 4.375 kB / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.003713, allocations: 12.36 kB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.00393, allocations: 121.4 kB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.003941, allocations: 192 / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.003949, allocations: 384 / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.003957, allocations: 384 / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.591e-05/0.003983, allocations: 15.92 kB / 274.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.004103, allocations: 124.6 kB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.004231, allocations: 71.06 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.004276, allocations: 35.72 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.004283, allocations: 0 / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.004304, allocations: 33.39 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 8.01e-07/0.004305, allocations: 0 / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001569/0.004462, allocations: 81.72 kB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.00451, allocations: 59.41 kB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.004616, allocations: 207.5 kB / 275.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.004626, allocations: 25.7 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.004675, allocations: 130.9 kB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.004689, allocations: 8 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.004718, allocations: 19.38 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004117/0.005129, allocations: 0.4923 MB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.799e-06/0.005139, allocations: 0 / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.7e-06/0.005145, allocations: 4 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.345e-05/0.005168, allocations: 11.69 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.00517, allocations: 0 / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.04e-05/0.00522, allocations: 53.58 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.005232, allocations: 4 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.005237, allocations: 0 / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.005256, allocations: 4 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.838e-05/0.005304, allocations: 4.094 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.00531, allocations: 0 / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.205e-05/0.005322, allocations: 7.938 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-06/0.005327, allocations: 0 / 276.3 MB, free: 14.01 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 7.265e-05/0.005399, allocations: 152.6 kB / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.005455, allocations: 69.64 kB / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.00549, allocations: 12.72 kB / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.005491, allocations: 0 / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.005495, allocations: 0 / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.0055, allocations: 15.86 kB / 276.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.267e-05/0.005563, allocations: 128.6 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.005564, allocations: 0 / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.005617, allocations: 15.98 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.005619, allocations: 0 / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.005627, allocations: 7.984 kB / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.005628, allocations: 0 / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.005629, allocations: 0 / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.389e-05/0.005713, allocations: 112.3 kB / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.005745, allocations: 23.83 kB / 276.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.005765, allocations: 7.938 kB / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.327e-06/0.005775, allocations: 0 / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-06/0.005778, allocations: 4 kB / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.005781, allocations: 0 / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.216e-05/0.005833, allocations: 150 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005833, allocations: 0 / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001161/0.005949, allocations: 4 kB / 277 MB, free: 13.25 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.039e-05/0.006029, allocations: 99.19 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.331e-05/0.006123, allocations: 27.67 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.006125, allocations: 0 / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.006125, allocations: 64 / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.006362, allocations: 42.48 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.0066, allocations: 168 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.107e-05/0.006641, allocations: 67.34 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.496e-05/0.006656, allocations: 7.984 kB / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.006681, allocations: 12.5 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006682, allocations: 0 / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of Templates: time 0.002382/0.009064, allocations: 0.7057 MB / 278.1 MB, free: 12.08 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.929748648311943]