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.001264/0.001264, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001235/0.001235, allocations: 145.1 kB / 24.97 MB, free: 8.812 MB / 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 0.9724/0.9724, allocations: 173.4 MB / 201.5 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 179] 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.443e-06/1.443e-06, allocations: 0 / 268.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.446e-05, allocations: 6.25 kB / 268.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.004688/0.004702, allocations: 0.8739 MB / 268.9 MB, free: 5.863 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003211/0.005023, allocations: 135.5 kB / 269.1 MB, free: 5.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.0051, allocations: 3.938 kB / 269.1 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.615e-05/0.005197, allocations: 3.938 kB / 269.1 MB, free: 5.723 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.00531, allocations: 11.92 kB / 269.1 MB, free: 5.711 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.005486, allocations: 35.91 kB / 269.1 MB, free: 5.676 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.005591, allocations: 43.84 kB / 269.2 MB, free: 5.633 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.005694, allocations: 19.91 kB / 269.2 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.314e-05/0.005738, allocations: 27.92 kB / 269.2 MB, free: 5.586 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.338e-05/0.005801, allocations: 11.92 kB / 269.2 MB, free: 5.574 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.005824, allocations: 4 kB / 269.2 MB, free: 5.57 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.005834, allocations: 8 kB / 269.2 MB, free: 5.562 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.005877, allocations: 19.91 kB / 269.3 MB, free: 5.543 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.005908, allocations: 12 kB / 269.3 MB, free: 5.531 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.006015, allocations: 43.77 kB / 269.3 MB, free: 5.488 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.006017, allocations: 0 / 269.3 MB, free: 5.488 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.006018, allocations: 0 / 269.3 MB, free: 5.488 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.006021, allocations: 0 / 269.3 MB, free: 5.488 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.0003724/0.006394, allocations: 404.3 kB / 269.7 MB, free: 5.055 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.006429, allocations: 8.922 kB / 269.7 MB, free: 5.047 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.00647, allocations: 16.84 kB / 269.7 MB, free: 5.031 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.006643, allocations: 159.2 kB / 269.9 MB, free: 4.852 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.006654, allocations: 4.375 kB / 269.9 MB, free: 4.848 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.006663, allocations: 4.375 kB / 269.9 MB, free: 4.844 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.006875, allocations: 113.5 kB / 270 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.006882, allocations: 192 / 270 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.006891, allocations: 384 / 270 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.006898, allocations: 384 / 270 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.321e-05/0.006932, allocations: 23.86 kB / 270 MB, free: 4.695 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.00705, allocations: 140.6 kB / 270.2 MB, free: 4.523 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.007172, allocations: 51.2 kB / 270.2 MB, free: 4.461 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.007222, allocations: 35.72 kB / 270.3 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.00723, allocations: 4 kB / 270.3 MB, free: 4.418 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003025/0.01025, allocations: 37.33 kB / 270.3 MB, free: 4.371 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.01026, allocations: 0 / 270.3 MB, free: 4.371 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.000165/0.01042, allocations: 73.64 kB / 270.4 MB, free: 4.293 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.01047, allocations: 59.34 kB / 270.4 MB, free: 4.223 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.01058, allocations: 201.8 kB / 270.6 MB, free: 4.008 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.01059, allocations: 29.7 kB / 270.7 MB, free: 3.973 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.01063, allocations: 135 kB / 270.8 MB, free: 3.836 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.125e-05/0.01064, allocations: 3.953 kB / 270.8 MB, free: 3.832 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.01067, allocations: 23.38 kB / 270.8 MB, free: 3.801 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.0108, allocations: 0.4884 MB / 271.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-06/0.0108, allocations: 0 / 271.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.66e-06/0.01081, allocations: 3.938 kB / 271.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.248e-05/0.01083, allocations: 15.69 kB / 271.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.01083, allocations: 0 / 271.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002666/0.0111, allocations: 41.77 kB / 271.4 MB, free: 3.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.01111, allocations: 7.984 kB / 271.4 MB, free: 3.223 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.01112, allocations: 0 / 271.4 MB, free: 3.223 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.01113, allocations: 0 / 271.4 MB, free: 3.223 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.245e-05/0.01117, allocations: 4 kB / 271.4 MB, free: 3.219 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.01117, allocations: 0 / 271.4 MB, free: 3.219 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.402e-05/0.01119, allocations: 7.891 kB / 271.4 MB, free: 3.211 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.01119, allocations: 0 / 271.4 MB, free: 3.211 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 6.851e-05/0.01126, allocations: 168.5 kB / 271.5 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.01133, allocations: 69.62 kB / 271.6 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.01136, allocations: 12.78 kB / 271.6 MB, free: 2.945 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01136, allocations: 4.031 kB / 271.6 MB, free: 2.941 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.01137, allocations: 0 / 271.6 MB, free: 2.941 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01137, allocations: 3.938 kB / 271.6 MB, free: 2.938 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.12e-05/0.01144, allocations: 128.6 kB / 271.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.01144, allocations: 0 / 271.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-05/0.01149, allocations: 12 kB / 271.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.01149, allocations: 0 / 271.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.0115, allocations: 4 kB / 271.8 MB, free: 2.762 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.0115, allocations: 7.922 kB / 271.8 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.0115, allocations: 0 / 271.8 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.468e-05/0.0116, allocations: 108.7 kB / 271.9 MB, free: 2.625 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.01163, allocations: 23.89 kB / 271.9 MB, free: 2.602 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.01165, allocations: 3.984 kB / 271.9 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.522e-05/0.01167, allocations: 4 kB / 271.9 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-06/0.01167, allocations: 0 / 271.9 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.01167, allocations: 4 kB / 271.9 MB, free: 2.59 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.512e-05/0.01173, allocations: 141.8 kB / 272.1 MB, free: 2.453 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01173, allocations: 0 / 272.1 MB, free: 2.453 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001787/0.01191, allocations: 4 kB / 272.1 MB, free: 2.449 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 7.198e-05/0.01198, allocations: 111.2 kB / 272.2 MB, free: 2.332 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.028e-05/0.01206, allocations: 31.67 kB / 272.2 MB, free: 2.297 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01206, allocations: 0 / 272.2 MB, free: 2.297 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.01206, allocations: 0 / 272.2 MB, free: 2.297 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.01231, allocations: 38.53 kB / 272.2 MB, free: 2.258 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/0.01254, allocations: 167.3 kB / 272.4 MB, free: 2.066 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.502e-05/0.01257, allocations: 63.34 kB / 272.5 MB, free: 1.984 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.492e-05/0.01259, allocations: 11.92 kB / 272.5 MB, free: 1.973 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.01261, allocations: 8.5 kB / 272.5 MB, free: 1.961 MB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01261, allocations: 4.062 kB / 272.5 MB, free: 1.957 MB / 250.7 MB Notification: Performance of Templates: time 0.005346/0.01796, allocations: 0.7159 MB / 273.2 MB, free: 1.258 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","",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.652687295107171]