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.0009049/0.0009049, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001463/0.001463, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.07/1.07, allocations: 177.1 MB / 205.3 MB, free: 5.465 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 1.133e-06/1.133e-06, allocations: 0 / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.735e-05, allocations: 2.312 kB / 273.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.004836/0.004853, allocations: 0.8644 MB / 274.3 MB, free: 424 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003341/0.005187, allocations: 139.5 kB / 274.4 MB, free: 284 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.416e-05/0.005261, allocations: 3.938 kB / 274.4 MB, free: 280 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.106e-05/0.005342, allocations: 3.938 kB / 274.4 MB, free: 276 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.702e-05/0.005439, allocations: 15.86 kB / 274.4 MB, free: 260 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.005606, allocations: 35.91 kB / 274.5 MB, free: 224 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.226e-05/0.005699, allocations: 43.78 kB / 274.5 MB, free: 180 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.486e-05/0.005784, allocations: 15.98 kB / 274.5 MB, free: 164 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.672e-05/0.00583, allocations: 23.91 kB / 274.5 MB, free: 140 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.81e-05/0.005898, allocations: 15.98 kB / 274.6 MB, free: 124 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.005916, allocations: 4 kB / 274.6 MB, free: 120 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.005926, allocations: 8 kB / 274.6 MB, free: 112 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.005961, allocations: 15.92 kB / 274.6 MB, free: 96 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.005989, allocations: 19.92 kB / 274.6 MB, free: 76 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.847e-05/0.006088, allocations: 39.83 kB / 274.6 MB, free: 36 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.006089, allocations: 0 / 274.6 MB, free: 36 kB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.00609, allocations: 0 / 274.6 MB, free: 36 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.006093, allocations: 0 / 274.6 MB, free: 36 kB / 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.0003764/0.00647, allocations: 412.2 kB / 275 MB, free: 15.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.006507, allocations: 8.031 kB / 275 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.006542, allocations: 12.89 kB / 275.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.006695, allocations: 148.4 kB / 275.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.006703, allocations: 4.375 kB / 275.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.006713, allocations: 8.375 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.006884, allocations: 113.4 kB / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.006891, allocations: 192 / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.006897, allocations: 8.312 kB / 275.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.006902, allocations: 384 / 275.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.165e-05/0.006924, allocations: 19.92 kB / 275.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001021/0.007026, allocations: 101.2 kB / 275.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.007137, allocations: 63.17 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.007177, allocations: 31.66 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.007184, allocations: 0 / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.007209, allocations: 37.39 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.00721, allocations: 0 / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001312/0.007341, allocations: 65.64 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.007381, allocations: 63.55 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.007493, allocations: 200 kB / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.007503, allocations: 29.7 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.007553, allocations: 134.9 kB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.689e-06/0.007563, allocations: 3.984 kB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.007596, allocations: 23.36 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.007728, allocations: 0.4922 MB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-06/0.007736, allocations: 4 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.007741, allocations: 0 / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.007e-05/0.007761, allocations: 11.69 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.007762, allocations: 0 / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.967e-05/0.007822, allocations: 49.7 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.007833, allocations: 7.938 kB / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.007839, allocations: 4 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.00785, allocations: 0 / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.332e-05/0.007883, allocations: 0 / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.007886, allocations: 3.938 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.295e-05/0.007899, allocations: 4 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.007903, allocations: 3.938 kB / 276.7 MB, free: 13.79 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.445e-05/0.007977, allocations: 152.6 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.664e-05/0.008044, allocations: 65.64 kB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.008078, allocations: 16.81 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.008081, allocations: 3.984 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.008083, allocations: 0 / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.008086, allocations: 0 / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.797e-05/0.008164, allocations: 113.1 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008166, allocations: 0 / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.123e-05/0.008217, allocations: 12 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.008219, allocations: 0 / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.008225, allocations: 8 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.008227, allocations: 3.938 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008228, allocations: 0 / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.268e-05/0.00828, allocations: 80.33 kB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.008317, allocations: 15.95 kB / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.008332, allocations: 0 / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.455e-05/0.008347, allocations: 0 / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-06/0.00835, allocations: 3.984 kB / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.008354, allocations: 0 / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.019e-05/0.008414, allocations: 145.7 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008414, allocations: 0 / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001946/0.008608, allocations: 8 kB / 277.3 MB, free: 13.11 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 8.542e-05/0.008694, allocations: 99.25 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.471e-05/0.008759, allocations: 31.61 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.00876, allocations: 0 / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.00876, allocations: 3.938 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.009008, allocations: 34.48 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002305/0.009239, allocations: 175.2 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.908e-05/0.009278, allocations: 63.34 kB / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.421e-05/0.009292, allocations: 0 / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.009352, allocations: 78.19 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009353, allocations: 4.062 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of Templates: time 0.002636/0.01199, allocations: 0.7432 MB / 278.5 MB, free: 11.84 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.7648321450687945]