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.001259/0.001259, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001608/0.001608, allocations: 140.3 kB / 24.89 MB, free: 9.207 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.9239/0.9239, allocations: 173.3 MB / 201.5 MB, free: 9.168 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.363e-06/1.363e-06, allocations: 0 / 268.5 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.583e-05, allocations: 2.312 kB / 268.5 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001549/0.001565, allocations: 0.9251 MB / 269.4 MB, free: 5.199 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002918/0.001857, allocations: 131.5 kB / 269.6 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.731e-05/0.001924, allocations: 0 / 269.6 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.884e-05/0.002023, allocations: 11.86 kB / 269.6 MB, free: 5.059 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.002125, allocations: 4 kB / 269.6 MB, free: 5.055 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.00228, allocations: 51.77 kB / 269.6 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.574e-05/0.002366, allocations: 39.86 kB / 269.7 MB, free: 4.965 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.787e-05/0.002443, allocations: 11.98 kB / 269.7 MB, free: 4.953 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.787e-05/0.002481, allocations: 27.97 kB / 269.7 MB, free: 4.926 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.036e-05/0.002542, allocations: 15.91 kB / 269.7 MB, free: 4.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.002558, allocations: 4 kB / 269.7 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-06/0.002567, allocations: 4 kB / 269.7 MB, free: 4.902 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.002598, allocations: 11.94 kB / 269.7 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.002625, allocations: 23.91 kB / 269.8 MB, free: 4.867 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.725e-05/0.002712, allocations: 43.77 kB / 269.8 MB, free: 4.824 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.002714, allocations: 0 / 269.8 MB, free: 4.824 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002715, allocations: 4 kB / 269.8 MB, free: 4.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.002718, allocations: 0 / 269.8 MB, free: 4.82 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.0002568/0.002975, allocations: 276.6 kB / 270.1 MB, free: 4.523 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.003003, allocations: 8.922 kB / 270.1 MB, free: 4.516 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.003029, allocations: 12.92 kB / 270.1 MB, free: 4.504 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.00316, allocations: 148.5 kB / 270.2 MB, free: 4.336 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.821e-06/0.003166, allocations: 384 / 270.2 MB, free: 4.336 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.003174, allocations: 8.312 kB / 270.3 MB, free: 4.328 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.003309, allocations: 106.7 kB / 270.4 MB, free: 4.211 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.003314, allocations: 192 / 270.4 MB, free: 4.211 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-06/0.003319, allocations: 384 / 270.4 MB, free: 4.211 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.003323, allocations: 4.312 kB / 270.4 MB, free: 4.207 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.63e-05/0.00334, allocations: 14.77 kB / 270.4 MB, free: 4.191 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.669e-05/0.003396, allocations: 71.84 kB / 270.4 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.857e-05/0.003475, allocations: 48.16 kB / 270.5 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.0035, allocations: 25 kB / 270.5 MB, free: 4.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-06/0.003506, allocations: 4 kB / 270.5 MB, free: 4.016 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.003523, allocations: 34.56 kB / 270.6 MB, free: 3.973 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 5.51e-07/0.003524, allocations: 0 / 270.6 MB, free: 3.973 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 8.781e-05/0.003612, allocations: 61.61 kB / 270.6 MB, free: 3.906 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.00365, allocations: 63.36 kB / 270.7 MB, free: 3.832 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.233e-05/0.003712, allocations: 134.6 kB / 270.8 MB, free: 3.688 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.00372, allocations: 25.7 kB / 270.8 MB, free: 3.656 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.107e-05/0.003742, allocations: 80.14 kB / 270.9 MB, free: 3.574 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/0.003753, allocations: 11.98 kB / 270.9 MB, free: 3.562 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.00378, allocations: 17.7 kB / 270.9 MB, free: 3.539 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.549e-05/0.003855, allocations: 318.8 kB / 271.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.56e-06/0.003861, allocations: 4 kB / 271.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-06/0.003867, allocations: 3.984 kB / 271.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.75e-05/0.003884, allocations: 8.859 kB / 271.3 MB, free: 3.199 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.003886, allocations: 0 / 271.3 MB, free: 3.199 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.482e-05/0.003921, allocations: 37.64 kB / 271.3 MB, free: 3.156 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/0.00393, allocations: 4 kB / 271.3 MB, free: 3.152 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.003934, allocations: 0 / 271.3 MB, free: 3.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.003943, allocations: 3.984 kB / 271.3 MB, free: 3.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.949e-05/0.003972, allocations: 8.094 kB / 271.3 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.003974, allocations: 0 / 271.3 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.128e-06/0.003984, allocations: 3.953 kB / 271.3 MB, free: 3.137 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-06/0.003987, allocations: 0 / 271.3 MB, free: 3.137 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 5.647e-05/0.004043, allocations: 128.5 kB / 271.5 MB, free: 3 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.004078, allocations: 53.67 kB / 271.5 MB, free: 2.941 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.004103, allocations: 12.77 kB / 271.5 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.004105, allocations: 4 kB / 271.5 MB, free: 2.922 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.004106, allocations: 0 / 271.5 MB, free: 2.922 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.004109, allocations: 3.984 kB / 271.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.544e-05/0.004155, allocations: 81.77 kB / 271.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.004155, allocations: 7.938 kB / 271.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-05/0.004186, allocations: 12 kB / 271.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.004188, allocations: 0 / 271.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-06/0.004191, allocations: 0 / 271.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.004192, allocations: 0 / 271.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.004193, allocations: 400 / 271.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.407e-05/0.004227, allocations: 63.89 kB / 271.7 MB, free: 2.719 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.004251, allocations: 19.92 kB / 271.7 MB, free: 2.699 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.004264, allocations: 4 kB / 271.7 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.685e-06/0.004271, allocations: 0 / 271.7 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-06/0.004274, allocations: 0 / 271.7 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.004276, allocations: 4 kB / 271.7 MB, free: 2.691 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.022e-05/0.004297, allocations: 27.5 kB / 271.7 MB, free: 2.664 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004297, allocations: 3.938 kB / 271.7 MB, free: 2.66 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.745e-05/0.004384, allocations: 8 kB / 271.8 MB, free: 2.652 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 5.978e-05/0.004444, allocations: 76.42 kB / 271.8 MB, free: 2.57 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.125e-05/0.004495, allocations: 28.81 kB / 271.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.004497, allocations: 0 / 271.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.004498, allocations: 0 / 271.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.00463, allocations: 49.31 kB / 271.9 MB, free: 2.488 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001753/0.004805, allocations: 153.7 kB / 272.1 MB, free: 2.312 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.883e-05/0.004834, allocations: 71.33 kB / 272.1 MB, free: 2.223 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.142e-05/0.004845, allocations: 0 / 272.1 MB, free: 2.223 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.004886, allocations: 55.38 kB / 272.2 MB, free: 2.168 MB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.004887, allocations: 0 / 272.2 MB, free: 2.168 MB / 250.7 MB Notification: Performance of Templates: time 0.001969/0.006856, allocations: 0.7772 MB / 273 MB, free: 1.414 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 -s gbode -gbm=radauIIA3 -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.37892233626917]