Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001032/0.001032, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001473/0.001473, allocations: 167.1 kB / 24.82 MB, free: 8.879 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 1.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.254e-05, allocations: 8.781 kB / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002235/0.002258, allocations: 0.9679 MB / 274.4 MB, free: 316 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000361/0.002619, allocations: 123.5 kB / 274.5 MB, free: 192 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.594e-05/0.002705, allocations: 7.938 kB / 274.5 MB, free: 184 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.715e-05/0.002752, allocations: 3.938 kB / 274.5 MB, free: 180 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.002886, allocations: 11.91 kB / 274.5 MB, free: 168 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.003086, allocations: 35.86 kB / 274.6 MB, free: 132 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.901e-05/0.003185, allocations: 43.89 kB / 274.6 MB, free: 88 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.003281, allocations: 16.12 kB / 274.6 MB, free: 68 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.289e-05/0.003334, allocations: 23.91 kB / 274.6 MB, free: 44 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.985e-05/0.003384, allocations: 19.91 kB / 274.7 MB, free: 24 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.003402, allocations: 4 kB / 274.7 MB, free: 20 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.003415, allocations: 4 kB / 274.7 MB, free: 16 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.003456, allocations: 11.94 kB / 274.7 MB, free: 4 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.003499, allocations: 16.06 kB / 274.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.003602, allocations: 39.69 kB / 274.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.654e-06/0.003603, allocations: 0 / 274.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003604, allocations: 4 kB / 274.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.003608, allocations: 4 kB / 274.7 MB, free: 15.94 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.0003739/0.003982, allocations: 392.3 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.004023, allocations: 8.031 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.004061, allocations: 20.84 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.004213, allocations: 140.4 kB / 275.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.004222, allocations: 4.375 kB / 275.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.004232, allocations: 4.375 kB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.004419, allocations: 113.5 kB / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.004428, allocations: 192 / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-06/0.004433, allocations: 384 / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.00444, allocations: 4.125 kB / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.314e-05/0.004463, allocations: 19.91 kB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/0.004568, allocations: 105.2 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.00468, allocations: 55.19 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.004716, allocations: 31.72 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.004724, allocations: 0 / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.004751, allocations: 41.33 kB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.004752, allocations: 0 / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.000147/0.004899, allocations: 73.78 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.004945, allocations: 55.41 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.005057, allocations: 191.7 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.005071, allocations: 25.7 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.005121, allocations: 134.9 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.388e-06/0.00513, allocations: 0 / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.005167, allocations: 23.36 kB / 276.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.005325, allocations: 0.4922 MB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.005336, allocations: 11.94 kB / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-06/0.005342, allocations: 0 / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.211e-05/0.005364, allocations: 15.69 kB / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005366, allocations: 0 / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.458e-05/0.00542, allocations: 37.66 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.005433, allocations: 4 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.005436, allocations: 0 / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.005448, allocations: 0 / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.386e-05/0.005481, allocations: 12.08 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.005485, allocations: 0 / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.005499, allocations: 3.938 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.005505, allocations: 11.92 kB / 276.7 MB, free: 13.74 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: 0 () * 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.678e-05/0.005582, allocations: 152.6 kB / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/0.005646, allocations: 69.62 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.005679, allocations: 12.72 kB / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.005683, allocations: 4 kB / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.005684, allocations: 0 / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.005687, allocations: 0 / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.909e-05/0.005766, allocations: 113.1 kB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.005767, allocations: 0 / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.005812, allocations: 12 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.005815, allocations: 4 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.005821, allocations: 3.984 kB / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.005822, allocations: 0 / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.005824, allocations: 3.938 kB / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.476e-05/0.005879, allocations: 72.33 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.005912, allocations: 19.94 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.005927, allocations: 0 / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.384e-05/0.005941, allocations: 0 / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-06/0.005943, allocations: 8 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.005946, allocations: 0 / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.979e-05/0.006006, allocations: 141.7 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.006006, allocations: 0 / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001884/0.006195, allocations: 4 kB / 277.4 MB, free: 13.07 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: 0 () * 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 7.883e-05/0.006273, allocations: 95.25 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.76e-05/0.006341, allocations: 27.59 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.006344, allocations: 8 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.006344, allocations: 0 / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.006582, allocations: 37.81 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.006805, allocations: 159.4 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.224e-05/0.006847, allocations: 67.28 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.647e-05/0.006864, allocations: 8 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.006923, allocations: 82.19 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.006924, allocations: 0 / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of Templates: time 0.002421/0.009345, allocations: 0.6678 MB / 278.5 MB, free: 11.88 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.699328481219709]