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.001031/0.001031, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009776/0.0009776, allocations: 170.9 kB / 24.91 MB, free: 9.156 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.9152/0.9152, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.322e-06/1.322e-06, allocations: 0 / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.716e-05, allocations: 6.312 kB / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002273/0.0023, allocations: 0.9316 MB / 274.4 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000387/0.002687, allocations: 123.5 kB / 274.5 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.364e-05/0.00277, allocations: 7.938 kB / 274.5 MB, free: 228 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.002873, allocations: 3.938 kB / 274.5 MB, free: 224 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.002996, allocations: 15.86 kB / 274.6 MB, free: 208 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.003195, allocations: 39.83 kB / 274.6 MB, free: 168 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.003306, allocations: 43.84 kB / 274.6 MB, free: 124 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.003406, allocations: 15.98 kB / 274.7 MB, free: 108 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.159e-05/0.003458, allocations: 19.98 kB / 274.7 MB, free: 88 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.704e-05/0.003535, allocations: 23.91 kB / 274.7 MB, free: 64 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.003558, allocations: 4 kB / 274.7 MB, free: 60 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.003569, allocations: 4 kB / 274.7 MB, free: 56 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.056e-05/0.003609, allocations: 15.92 kB / 274.7 MB, free: 40 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.003638, allocations: 15.92 kB / 274.7 MB, free: 24 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.003774, allocations: 43.83 kB / 274.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.003777, allocations: 0 / 274.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.003778, allocations: 0 / 274.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.003783, allocations: 0 / 274.8 MB, free: 15.98 MB / 266.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.0003368/0.004119, allocations: 280.6 kB / 275.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.004156, allocations: 12.03 kB / 275.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.004192, allocations: 20.86 kB / 275.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.00436, allocations: 129.7 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.004371, allocations: 8.375 kB / 275.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.00438, allocations: 4.375 kB / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.004567, allocations: 118.5 kB / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.004575, allocations: 4.188 kB / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.004581, allocations: 384 / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.004587, allocations: 384 / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.214e-05/0.004609, allocations: 10.77 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.42e-05/0.004683, allocations: 67.81 kB / 275.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.00479, allocations: 52.2 kB / 275.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.004822, allocations: 20.86 kB / 275.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.004828, allocations: 0 / 275.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.004855, allocations: 42.5 kB / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.004856, allocations: 0 / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001212/0.004978, allocations: 65.81 kB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003126/0.00529, allocations: 59.41 kB / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/0.005389, allocations: 128.7 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.0054, allocations: 29.7 kB / 275.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.00543, allocations: 84.12 kB / 275.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.005444, allocations: 3.984 kB / 275.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.005476, allocations: 25.67 kB / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.343e-05/0.00557, allocations: 318.8 kB / 276.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.633e-06/0.005576, allocations: 0 / 276.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.016e-05/0.005587, allocations: 11.92 kB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.43e-05/0.005611, allocations: 12.92 kB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.005613, allocations: 0 / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.686e-05/0.00567, allocations: 29.7 kB / 276.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.005684, allocations: 8 kB / 276.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.005688, allocations: 3.938 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.005702, allocations: 0 / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.243e-05/0.005744, allocations: 7.984 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.005747, allocations: 0 / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.287e-05/0.00576, allocations: 0 / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.005763, allocations: 0 / 276.3 MB, free: 14.29 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 6.982e-05/0.005833, allocations: 128.6 kB / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.005891, allocations: 49.67 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.594e-05/0.005927, allocations: 16.77 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.00593, allocations: 0 / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.005931, allocations: 0 / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005934, allocations: 0 / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.381e-05/0.005998, allocations: 81.75 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.005999, allocations: 0 / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.006056, allocations: 20 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.006057, allocations: 0 / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.006062, allocations: 8 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.006064, allocations: 0 / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.006065, allocations: 0 / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.155e-05/0.006116, allocations: 63.83 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.00615, allocations: 15.94 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.006167, allocations: 4 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.543e-05/0.006182, allocations: 0 / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-06/0.006185, allocations: 4 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.00619, allocations: 0 / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.306e-05/0.006223, allocations: 27.8 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006223, allocations: 0 / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001383/0.006361, allocations: 12 kB / 276.7 MB, free: 13.8 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 9.297e-05/0.006454, allocations: 80.42 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.27e-05/0.006517, allocations: 28.78 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.00652, allocations: 0 / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.00652, allocations: 0 / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.006694, allocations: 41.89 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/0.006929, allocations: 157.6 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.991e-05/0.006969, allocations: 71.33 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.578e-05/0.006985, allocations: 4.062 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.00704, allocations: 55.38 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.007041, allocations: 3.938 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of Templates: time 0.002677/0.009718, allocations: 0.7648 MB / 277.9 MB, free: 12.56 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 -s gbode -gbm=radauIIA3 -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.499612844083458]