Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001478/0.001478, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.001112/0.001112, allocations: 164.8 kB / 24.99 MB, free: 9.32 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.076/1.076, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 273.1 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.175e-05, allocations: 2.312 kB / 273.1 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002313/0.002344, allocations: 0.8804 MB / 273.9 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003839/0.002728, allocations: 127.5 kB / 274.1 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.002832, allocations: 4 kB / 274.1 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.002976, allocations: 11.86 kB / 274.1 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.003112, allocations: 4 kB / 274.1 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.003321, allocations: 39.83 kB / 274.1 MB, free: 0.793 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.003429, allocations: 39.86 kB / 274.2 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.003548, allocations: 15.98 kB / 274.2 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.724e-05/0.003596, allocations: 27.91 kB / 274.2 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.946e-05/0.003675, allocations: 19.91 kB / 274.2 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.0037, allocations: 4 kB / 274.2 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.003712, allocations: 4 kB / 274.2 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.003759, allocations: 15.94 kB / 274.2 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.003796, allocations: 15.97 kB / 274.3 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.003942, allocations: 51.7 kB / 274.3 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.003946, allocations: 0 / 274.3 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.003947, allocations: 0 / 274.3 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.003952, allocations: 0 / 274.3 MB, free: 0.6016 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.0004043/0.004356, allocations: 404.3 kB / 274.7 MB, free: 172 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.004395, allocations: 8.031 kB / 274.7 MB, free: 164 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.00444, allocations: 16.89 kB / 274.7 MB, free: 148 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.004623, allocations: 147.5 kB / 274.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.004635, allocations: 8.312 kB / 274.9 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.004646, allocations: 4.375 kB / 274.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.004887, allocations: 113.4 kB / 275 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.004895, allocations: 4.188 kB / 275 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.004907, allocations: 4.375 kB / 275 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.004916, allocations: 7.938 kB / 275 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.038e-05/0.004946, allocations: 11.98 kB / 275 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.005082, allocations: 124.6 kB / 275.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.005238, allocations: 71.11 kB / 275.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.99e-05/0.005288, allocations: 31.72 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.005298, allocations: 0 / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.005323, allocations: 33.39 kB / 275.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.005324, allocations: 0 / 275.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001905/0.005515, allocations: 77.58 kB / 275.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.005577, allocations: 67.33 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.005681, allocations: 197.9 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.005691, allocations: 29.64 kB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.005744, allocations: 130.9 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.00576, allocations: 3.953 kB / 275.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.005791, allocations: 31.36 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.005911, allocations: 496.1 kB / 276.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.123e-05/0.005923, allocations: 0 / 276.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-06/0.005929, allocations: 4 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.679e-05/0.005956, allocations: 15.62 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.005959, allocations: 8.062 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.406e-05/0.006013, allocations: 41.64 kB / 276.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.006026, allocations: 4 kB / 276.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.006031, allocations: 0 / 276.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.006045, allocations: 4 kB / 276.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.626e-05/0.006091, allocations: 0 / 276.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.006099, allocations: 3.938 kB / 276.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.309e-05/0.006113, allocations: 8 kB / 276.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.006117, allocations: 0 / 276.4 MB, free: 14.32 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: 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 7.965e-05/0.006196, allocations: 152.6 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.991e-05/0.006266, allocations: 77.75 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.006307, allocations: 16.77 kB / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.00631, allocations: 0 / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.006315, allocations: 3.938 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.006322, allocations: 4 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.781e-05/0.00639, allocations: 124.6 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.006392, allocations: 0 / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.006455, allocations: 15.98 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.006458, allocations: 0 / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.006465, allocations: 0 / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.006466, allocations: 0 / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.006468, allocations: 4 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.006573, allocations: 120.2 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.006608, allocations: 19.81 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.006642, allocations: 4 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.467e-05/0.006656, allocations: 4 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-06/0.006659, allocations: 0 / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.006664, allocations: 0 / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.939e-05/0.006724, allocations: 150.1 kB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006724, allocations: 0 / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000123/0.006847, allocations: 11.98 kB / 277.1 MB, free: 13.55 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: 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 9.211e-05/0.006939, allocations: 102.6 kB / 277.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.816e-05/0.007027, allocations: 23.69 kB / 277.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.007029, allocations: 3.938 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.00703, allocations: 0 / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.007271, allocations: 30.55 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/0.007549, allocations: 172 kB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.745e-05/0.007597, allocations: 67.34 kB / 277.5 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.912e-05/0.007616, allocations: 7.938 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.007645, allocations: 20.56 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.007646, allocations: 0 / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of Templates: time 0.002617/0.01026, allocations: 0.7069 MB / 278.2 MB, free: 12.38 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9643006618134677]