Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 88.62 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002078/0.002078, allocations: 149.3 kB / 24.25 MB, free: 188 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 173.4 MB / 200.8 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.216e-05, allocations: 2.312 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002442/0.002474, allocations: 0.9536 MB / 268.3 MB, free: 5.746 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004062/0.00288, allocations: 115.5 kB / 268.4 MB, free: 5.633 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.831e-05/0.002958, allocations: 8 kB / 268.4 MB, free: 5.625 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.916e-05/0.003017, allocations: 11.86 kB / 268.4 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.003149, allocations: 7.875 kB / 268.4 MB, free: 5.605 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.003376, allocations: 35.95 kB / 268.5 MB, free: 5.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.003487, allocations: 39.86 kB / 268.5 MB, free: 5.531 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.003592, allocations: 12.17 kB / 268.5 MB, free: 5.516 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.003659, allocations: 27.91 kB / 268.5 MB, free: 5.488 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.191e-05/0.003701, allocations: 7.984 kB / 268.6 MB, free: 5.48 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.003722, allocations: 4 kB / 268.6 MB, free: 5.477 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.003735, allocations: 4 kB / 268.6 MB, free: 5.473 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.003789, allocations: 23.86 kB / 268.6 MB, free: 5.449 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.003839, allocations: 15.92 kB / 268.6 MB, free: 5.434 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.003983, allocations: 55.8 kB / 268.7 MB, free: 5.379 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.003986, allocations: 0 / 268.7 MB, free: 5.379 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003986, allocations: 0 / 268.7 MB, free: 5.379 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.00399, allocations: 0 / 268.7 MB, free: 5.379 MB / 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.0007433/0.004733, allocations: 298 kB / 268.9 MB, free: 5.059 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.004774, allocations: 12.92 kB / 269 MB, free: 5.047 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.004828, allocations: 16.89 kB / 269 MB, free: 5.031 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.005111, allocations: 153.4 kB / 269.1 MB, free: 4.855 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.005122, allocations: 384 / 269.1 MB, free: 4.855 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.005132, allocations: 4.375 kB / 269.1 MB, free: 4.852 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.005477, allocations: 127.8 kB / 269.3 MB, free: 4.715 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.005484, allocations: 192 / 269.3 MB, free: 4.715 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.005498, allocations: 4.375 kB / 269.3 MB, free: 4.711 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.005506, allocations: 4.125 kB / 269.3 MB, free: 4.707 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.078e-05/0.005557, allocations: 15.98 kB / 269.3 MB, free: 4.691 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.005719, allocations: 113.3 kB / 269.4 MB, free: 4.551 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.005884, allocations: 66.66 kB / 269.5 MB, free: 4.477 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.425e-05/0.005958, allocations: 36.88 kB / 269.5 MB, free: 4.438 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.005971, allocations: 0 / 269.5 MB, free: 4.438 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.006009, allocations: 34.56 kB / 269.5 MB, free: 4.395 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.00601, allocations: 0 / 269.5 MB, free: 4.395 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.000247/0.006257, allocations: 97.72 kB / 269.6 MB, free: 4.293 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/0.006326, allocations: 55.36 kB / 269.7 MB, free: 4.227 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.006484, allocations: 148.7 kB / 269.8 MB, free: 4.074 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.006505, allocations: 25.7 kB / 269.8 MB, free: 4.043 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.006571, allocations: 100 kB / 269.9 MB, free: 3.941 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.207e-06/0.00658, allocations: 0 / 269.9 MB, free: 3.941 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.006619, allocations: 17.72 kB / 270 MB, free: 3.918 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.006799, allocations: 314.8 kB / 270.3 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.006816, allocations: 8 kB / 270.3 MB, free: 3.594 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.006822, allocations: 0 / 270.3 MB, free: 3.594 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.759e-05/0.006849, allocations: 12.8 kB / 270.3 MB, free: 3.578 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006851, allocations: 0 / 270.3 MB, free: 3.578 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.212e-05/0.006923, allocations: 45.66 kB / 270.3 MB, free: 3.527 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.006937, allocations: 8.094 kB / 270.3 MB, free: 3.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.006944, allocations: 3.984 kB / 270.3 MB, free: 3.516 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.006956, allocations: 0 / 270.3 MB, free: 3.516 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.464e-05/0.007, allocations: 4 kB / 270.3 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.007008, allocations: 3.938 kB / 270.3 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.339e-05/0.007021, allocations: 0 / 270.3 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.007026, allocations: 0 / 270.3 MB, free: 3.508 MB / 250.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 0.000113/0.007139, allocations: 117.8 kB / 270.5 MB, free: 3.383 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.007265, allocations: 77.58 kB / 270.5 MB, free: 3.301 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.007304, allocations: 12.78 kB / 270.6 MB, free: 3.285 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007306, allocations: 4 kB / 270.6 MB, free: 3.281 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.007312, allocations: 3.938 kB / 270.6 MB, free: 3.277 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.007316, allocations: 7.984 kB / 270.6 MB, free: 3.27 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.00743, allocations: 109.3 kB / 270.7 MB, free: 3.133 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.007431, allocations: 0 / 270.7 MB, free: 3.133 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.909e-05/0.00749, allocations: 12 kB / 270.7 MB, free: 3.121 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.007491, allocations: 4 kB / 270.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.007503, allocations: 7.984 kB / 270.7 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.007504, allocations: 0 / 270.7 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007505, allocations: 0 / 270.7 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.007677, allocations: 108.9 kB / 270.8 MB, free: 2.984 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.00772, allocations: 23.89 kB / 270.8 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.007738, allocations: 3.984 kB / 270.8 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.168e-05/0.007759, allocations: 4 kB / 270.8 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-06/0.007761, allocations: 0 / 270.8 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.00777, allocations: 7.938 kB / 270.8 MB, free: 2.945 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.997e-05/0.00786, allocations: 103.2 kB / 270.9 MB, free: 2.844 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00786, allocations: 4 kB / 270.9 MB, free: 2.84 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001867/0.008046, allocations: 4 kB / 271 MB, free: 2.836 MB / 250.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 0.000137/0.008183, allocations: 99.23 kB / 271 MB, free: 2.73 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.989e-05/0.008283, allocations: 24.47 kB / 271.1 MB, free: 2.707 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.008285, allocations: 0 / 271.1 MB, free: 2.707 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.008286, allocations: 3.938 kB / 271.1 MB, free: 2.703 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.008594, allocations: 37.36 kB / 271.1 MB, free: 2.668 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003683/0.008962, allocations: 169.8 kB / 271.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.009066, allocations: 87.25 kB / 271.4 MB, free: 2.371 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.878e-05/0.009095, allocations: 0 / 271.4 MB, free: 2.371 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.009131, allocations: 12.5 kB / 271.4 MB, free: 2.359 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009132, allocations: 4.062 kB / 271.4 MB, free: 2.355 MB / 250.7 MB Notification: Performance of Templates: time 0.003259/0.01239, allocations: 0.6147 MB / 272 MB, free: 1.75 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.159059479017742]