Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001466/0.001466, allocations: 84.25 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00171/0.00171, allocations: 167.3 kB / 25.61 MB, free: 8.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.015/1.015, allocations: 177 MB / 205.9 MB, free: 4.398 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.817e-06/3.817e-06, allocations: 0 / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.458e-05/3.839e-05, allocations: 2.312 kB / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002259/0.002297, allocations: 1.478 MB / 275.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002085/0.002506, allocations: 27.92 kB / 275.6 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.007e-05/0.002576, allocations: 0 / 275.6 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.002603, allocations: 7.922 kB / 275.6 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.919e-05/0.002642, allocations: 7.875 kB / 275.6 MB, free: 2.758 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.00287, allocations: 30.16 kB / 275.7 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.461e-05/0.002944, allocations: 27.92 kB / 275.7 MB, free: 2.703 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.635e-05/0.003031, allocations: 11.98 kB / 275.7 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.651e-05/0.003077, allocations: 11.98 kB / 275.7 MB, free: 2.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.138e-05/0.003109, allocations: 15.92 kB / 275.7 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.003126, allocations: 5.875 kB / 275.7 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.705e-06/0.003134, allocations: 4 kB / 275.7 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.00315, allocations: 0 / 275.7 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.003172, allocations: 11.94 kB / 275.7 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.44e-05/0.003266, allocations: 15.97 kB / 275.8 MB, free: 2.629 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.003269, allocations: 4 kB / 275.8 MB, free: 2.625 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.00327, allocations: 0.875 kB / 275.8 MB, free: 2.625 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.003274, allocations: 0 / 275.8 MB, free: 2.625 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002826/0.003557, allocations: 373.2 kB / 276.1 MB, free: 2.223 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.003589, allocations: 8.688 kB / 276.1 MB, free: 2.215 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.003617, allocations: 8.891 kB / 276.2 MB, free: 2.207 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.003734, allocations: 127 kB / 276.3 MB, free: 2.059 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.003748, allocations: 8.375 kB / 276.3 MB, free: 2.051 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-06/0.003754, allocations: 384 / 276.3 MB, free: 2.051 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.003913, allocations: 106.2 kB / 276.4 MB, free: 1.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.00392, allocations: 1.906 kB / 276.4 MB, free: 1.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-06/0.003926, allocations: 384 / 276.4 MB, free: 1.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.00393, allocations: 384 / 276.4 MB, free: 1.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.923e-05/0.003949, allocations: 11.92 kB / 276.4 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.354e-05/0.004023, allocations: 97.2 kB / 276.5 MB, free: 1.797 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.399e-05/0.004077, allocations: 43.58 kB / 276.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.258e-05/0.004099, allocations: 16.31 kB / 276.6 MB, free: 1.723 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.004106, allocations: 7.984 kB / 276.6 MB, free: 1.715 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.004125, allocations: 33.39 kB / 276.6 MB, free: 1.672 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.004126, allocations: 0 / 276.6 MB, free: 1.672 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001214/0.004247, allocations: 57.62 kB / 276.7 MB, free: 1.609 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.004284, allocations: 59.39 kB / 276.7 MB, free: 1.539 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.497e-05/0.004349, allocations: 165.9 kB / 276.9 MB, free: 1.359 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.00436, allocations: 25.7 kB / 276.9 MB, free: 1.328 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.004397, allocations: 138.8 kB / 277 MB, free: 1.188 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.735e-06/0.004404, allocations: 0 / 277 MB, free: 1.188 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.004425, allocations: 19.38 kB / 277.1 MB, free: 1.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003163/0.004741, allocations: 496.1 kB / 277.5 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-06/0.004747, allocations: 4 kB / 277.5 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-06/0.004753, allocations: 4 kB / 277.5 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.503e-05/0.004778, allocations: 15.67 kB / 277.6 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.004779, allocations: 0 / 277.6 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.737e-05/0.004826, allocations: 41.59 kB / 277.6 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.004837, allocations: 8 kB / 277.6 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.004841, allocations: 0 / 277.6 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.004851, allocations: 0 / 277.6 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.271e-05/0.004884, allocations: 7.938 kB / 277.6 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.004887, allocations: 4.094 kB / 277.6 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.385e-06/0.004895, allocations: 0 / 277.6 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.0049, allocations: 3.938 kB / 277.6 MB, free: 0.5664 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.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.857e-05/0.004968, allocations: 164.5 kB / 277.8 MB, free: 404 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.005007, allocations: 37.7 kB / 277.8 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.005029, allocations: 19.92 kB / 277.8 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.005031, allocations: 0 / 277.8 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.005033, allocations: 0 / 277.8 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.005036, allocations: 0 / 277.8 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.428e-05/0.00509, allocations: 97.2 kB / 277.9 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.005092, allocations: 4 kB / 277.9 MB, free: 208 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.005133, allocations: 11.98 kB / 277.9 MB, free: 196 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.005134, allocations: 0 / 277.9 MB, free: 196 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-06/0.005137, allocations: 0 / 277.9 MB, free: 196 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.005138, allocations: 0 / 277.9 MB, free: 196 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.005139, allocations: 0 / 277.9 MB, free: 196 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.24e-05/0.005181, allocations: 72.34 kB / 278 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.005188, allocations: 4 kB / 278 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.005201, allocations: 7.984 kB / 278 MB, free: 88 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.124e-05/0.005212, allocations: 4.25 kB / 278 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-06/0.005214, allocations: 0 / 278 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.005218, allocations: 8 kB / 278 MB, free: 76 kB / 250.7 MB Notification: Performance of sorting global known variables: time 5.156e-05/0.005269, allocations: 127.1 kB / 278.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005269, allocations: 0 / 278.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001044/0.005374, allocations: 4 kB / 278.2 MB, free: 15.95 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 6.429e-05/0.005438, allocations: 99.23 kB / 278.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.644e-05/0.005494, allocations: 19.69 kB / 278.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.005496, allocations: 0 / 278.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.62e-07/0.005496, allocations: 0 / 278.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.005632, allocations: 17.42 kB / 278.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001648/0.005797, allocations: 128.9 kB / 278.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.992e-05/0.005827, allocations: 67.14 kB / 278.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.206e-05/0.005839, allocations: 0 / 278.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.005877, allocations: 70.2 kB / 278.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of SimCode: time 3.61e-07/0.005877, allocations: 0 / 278.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Templates: time 0.001648/0.007525, allocations: 486.7 kB / 279 MB, free: 15.03 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.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.8422204391099513]