Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001793/0.001793, allocations: 95.86 kB / 20.96 MB, free: 3.461 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.001881/0.001881, allocations: 153.1 kB / 24.27 MB, free: 164 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.574/1.574, allocations: 173.3 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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.683e-05, allocations: 2.312 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002223/0.00225, allocations: 0.869 MB / 268.2 MB, free: 5.859 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003764/0.002626, allocations: 127.5 kB / 268.3 MB, free: 5.734 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.747e-05/0.002694, allocations: 4 kB / 268.3 MB, free: 5.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.0028, allocations: 11.86 kB / 268.3 MB, free: 5.719 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.002913, allocations: 7.938 kB / 268.3 MB, free: 5.711 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.003109, allocations: 31.89 kB / 268.4 MB, free: 5.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.003228, allocations: 39.86 kB / 268.4 MB, free: 5.641 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.003345, allocations: 31.86 kB / 268.4 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.121e-05/0.003396, allocations: 15.98 kB / 268.4 MB, free: 5.594 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.198e-05/0.003478, allocations: 23.91 kB / 268.5 MB, free: 5.57 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.003502, allocations: 8 kB / 268.5 MB, free: 5.562 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.003514, allocations: 0 / 268.5 MB, free: 5.562 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.003564, allocations: 19.92 kB / 268.5 MB, free: 5.543 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.003607, allocations: 15.92 kB / 268.5 MB, free: 5.527 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.003753, allocations: 59.73 kB / 268.6 MB, free: 5.469 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.003758, allocations: 4 kB / 268.6 MB, free: 5.465 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003758, allocations: 0 / 268.6 MB, free: 5.465 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.003763, allocations: 0 / 268.6 MB, free: 5.465 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.0005673/0.00433, allocations: 404 kB / 269 MB, free: 5.031 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.004367, allocations: 8.922 kB / 269 MB, free: 5.023 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.004427, allocations: 16.89 kB / 269 MB, free: 5.008 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.004667, allocations: 152.3 kB / 269.1 MB, free: 4.832 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.004684, allocations: 8.375 kB / 269.1 MB, free: 4.824 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.004703, allocations: 8.312 kB / 269.2 MB, free: 4.816 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.005002, allocations: 125.5 kB / 269.3 MB, free: 4.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.005011, allocations: 192 / 269.3 MB, free: 4.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.005024, allocations: 8.344 kB / 269.3 MB, free: 4.672 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.005028, allocations: 8.375 kB / 269.3 MB, free: 4.664 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/0.005076, allocations: 15.94 kB / 269.3 MB, free: 4.648 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.005254, allocations: 132.6 kB / 269.4 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.005432, allocations: 67.14 kB / 269.5 MB, free: 4.406 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.152e-05/0.005503, allocations: 39.72 kB / 269.5 MB, free: 4.363 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.005516, allocations: 0 / 269.5 MB, free: 4.363 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.005551, allocations: 37.39 kB / 269.6 MB, free: 4.316 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 8.11e-07/0.005551, allocations: 0 / 269.6 MB, free: 4.316 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002391/0.005791, allocations: 93.56 kB / 269.7 MB, free: 4.219 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.00585, allocations: 51.41 kB / 269.7 MB, free: 4.156 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.006037, allocations: 216.5 kB / 269.9 MB, free: 3.93 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.006057, allocations: 25.7 kB / 270 MB, free: 3.898 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/0.006146, allocations: 138.7 kB / 270.1 MB, free: 3.758 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.189e-05/0.006158, allocations: 3.984 kB / 270.1 MB, free: 3.754 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.006205, allocations: 27.33 kB / 270.1 MB, free: 3.719 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002691/0.006474, allocations: 0.4884 MB / 270.6 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.006491, allocations: 4 kB / 270.6 MB, free: 3.215 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-06/0.006497, allocations: 0 / 270.6 MB, free: 3.215 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.354e-05/0.006531, allocations: 23.61 kB / 270.6 MB, free: 3.188 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.006533, allocations: 4.062 kB / 270.6 MB, free: 3.184 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.711e-05/0.00661, allocations: 41.7 kB / 270.7 MB, free: 3.137 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.006623, allocations: 4 kB / 270.7 MB, free: 3.133 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.006627, allocations: 0 / 270.7 MB, free: 3.133 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.006638, allocations: 0 / 270.7 MB, free: 3.133 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.41e-05/0.006682, allocations: 4 kB / 270.7 MB, free: 3.129 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.006686, allocations: 0 / 270.7 MB, free: 3.129 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.006704, allocations: 7.875 kB / 270.7 MB, free: 3.121 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.006708, allocations: 0 / 270.7 MB, free: 3.121 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: 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 0.0001223/0.00683, allocations: 164.6 kB / 270.9 MB, free: 2.949 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.006958, allocations: 81.72 kB / 270.9 MB, free: 2.863 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.007004, allocations: 16.77 kB / 271 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.007005, allocations: 0 / 271 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.007008, allocations: 0 / 271 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.007014, allocations: 3.938 kB / 271 MB, free: 2.84 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.007141, allocations: 132.6 kB / 271.1 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007142, allocations: 0 / 271.1 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.132e-05/0.007213, allocations: 15.98 kB / 271.1 MB, free: 2.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007215, allocations: 0 / 271.1 MB, free: 2.66 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.007224, allocations: 4 kB / 271.1 MB, free: 2.656 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.007225, allocations: 0 / 271.1 MB, free: 2.656 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007226, allocations: 4 kB / 271.1 MB, free: 2.652 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.007384, allocations: 116.3 kB / 271.2 MB, free: 2.516 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.007433, allocations: 23.88 kB / 271.3 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.007448, allocations: 0 / 271.3 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.862e-05/0.007486, allocations: 8 kB / 271.3 MB, free: 2.484 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-06/0.007489, allocations: 0 / 271.3 MB, free: 2.484 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.007493, allocations: 0 / 271.3 MB, free: 2.484 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001101/0.007603, allocations: 153.8 kB / 271.4 MB, free: 2.336 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007603, allocations: 0 / 271.4 MB, free: 2.336 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001742/0.007778, allocations: 4 kB / 271.4 MB, free: 2.332 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: 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 0.0001222/0.0079, allocations: 103.2 kB / 271.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.008005, allocations: 28.16 kB / 271.5 MB, free: 2.191 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.008008, allocations: 0 / 271.5 MB, free: 2.191 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-07/0.008008, allocations: 3.938 kB / 271.5 MB, free: 2.188 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.008329, allocations: 42.77 kB / 271.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.008743, allocations: 179.3 kB / 271.8 MB, free: 1.941 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.243e-05/0.008836, allocations: 83.58 kB / 271.8 MB, free: 1.84 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.593e-05/0.008852, allocations: 11.94 kB / 271.9 MB, free: 1.828 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.008891, allocations: 12.5 kB / 271.9 MB, free: 1.812 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008891, allocations: 0 / 271.9 MB, free: 1.812 MB / 250.7 MB Notification: Performance of Templates: time 0.0036/0.01249, allocations: 0.7091 MB / 272.6 MB, free: 1.117 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.285604048985988]