Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.0009816/0.0009816, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009876/0.0009876, allocations: 167.9 kB / 25.61 MB, free: 8.582 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 0.9038/0.9038, allocations: 177.2 MB / 206.1 MB, free: 4.477 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.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.125e-05, allocations: 2.312 kB / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001884/0.001905, allocations: 1.462 MB / 275.7 MB, free: 2.941 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001998/0.002105, allocations: 41.31 kB / 275.7 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.532e-05/0.002171, allocations: 4 kB / 275.7 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.794e-05/0.002198, allocations: 7.922 kB / 275.7 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.251e-05/0.002241, allocations: 0.5 kB / 275.7 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.002511, allocations: 23.97 kB / 275.7 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.086e-05/0.002602, allocations: 20.72 kB / 275.7 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.205e-05/0.002694, allocations: 11.98 kB / 275.8 MB, free: 2.836 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.535e-05/0.002749, allocations: 20.55 kB / 275.8 MB, free: 2.816 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.429e-05/0.002783, allocations: 10.39 kB / 275.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.002805, allocations: 4 kB / 275.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.005e-05/0.002815, allocations: 4 kB / 275.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.002835, allocations: 7.984 kB / 275.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.002857, allocations: 11.94 kB / 275.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.126e-05/0.002938, allocations: 15.97 kB / 275.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.00294, allocations: 0 / 275.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.002941, allocations: 1.938 kB / 275.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.002946, allocations: 0 / 275.8 MB, free: 2.766 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.0003199/0.003266, allocations: 368.6 kB / 276.2 MB, free: 2.367 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.003299, allocations: 8.031 kB / 276.2 MB, free: 2.359 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.003325, allocations: 4.938 kB / 276.2 MB, free: 2.355 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.003457, allocations: 133 kB / 276.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.003475, allocations: 5.031 kB / 276.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.003484, allocations: 12.38 kB / 276.4 MB, free: 2.184 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.003646, allocations: 102.2 kB / 276.5 MB, free: 2.066 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.003654, allocations: 192 / 276.5 MB, free: 2.066 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.00366, allocations: 384 / 276.5 MB, free: 2.066 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.003667, allocations: 4.375 kB / 276.5 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.841e-05/0.003685, allocations: 3.938 kB / 276.5 MB, free: 2.059 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.442e-05/0.00377, allocations: 105.2 kB / 276.6 MB, free: 1.93 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.661e-05/0.003826, allocations: 39.06 kB / 276.6 MB, free: 1.879 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.00385, allocations: 15.75 kB / 276.6 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.553e-06/0.003856, allocations: 7.938 kB / 276.6 MB, free: 1.852 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.003876, allocations: 37.39 kB / 276.7 MB, free: 1.805 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.003876, allocations: 0 / 276.7 MB, free: 1.805 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001162/0.003993, allocations: 49.86 kB / 276.7 MB, free: 1.75 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.004036, allocations: 59.36 kB / 276.8 MB, free: 1.68 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.382e-05/0.0041, allocations: 161.9 kB / 276.9 MB, free: 1.504 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.004111, allocations: 29.7 kB / 277 MB, free: 1.469 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.00415, allocations: 130.9 kB / 277.1 MB, free: 1.336 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.987e-06/0.004159, allocations: 0 / 277.1 MB, free: 1.336 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.004183, allocations: 19.38 kB / 277.1 MB, free: 1.309 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.004297, allocations: 0.4961 MB / 277.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.01e-06/0.004302, allocations: 3.938 kB / 277.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-06/0.004308, allocations: 4 kB / 277.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.049e-05/0.004328, allocations: 11.69 kB / 277.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.00433, allocations: 0 / 277.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.772e-05/0.004367, allocations: 37.7 kB / 277.7 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.00438, allocations: 7.984 kB / 277.7 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.004384, allocations: 0 / 277.7 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.183e-06/0.004391, allocations: 0 / 277.7 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.358e-05/0.004425, allocations: 8.094 kB / 277.7 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.004428, allocations: 7.875 kB / 277.7 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.105e-06/0.004436, allocations: 0 / 277.7 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-06/0.00444, allocations: 7.922 kB / 277.7 MB, free: 0.7031 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.578e-05/0.004506, allocations: 156.6 kB / 277.8 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.004543, allocations: 49.64 kB / 277.9 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.906e-05/0.004562, allocations: 3.688 kB / 277.9 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.004563, allocations: 0 / 277.9 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.004565, allocations: 0 / 277.9 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.004568, allocations: 0 / 277.9 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.247e-05/0.00462, allocations: 101.2 kB / 278 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.004621, allocations: 4 kB / 278 MB, free: 356 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.851e-05/0.00464, allocations: 4.25 kB / 278 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.004641, allocations: 0 / 278 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.004647, allocations: 8 kB / 278 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.004648, allocations: 0 / 278 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.004649, allocations: 0 / 278 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.404e-05/0.004693, allocations: 76.31 kB / 278.1 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.004698, allocations: 7.953 kB / 278.1 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.004709, allocations: 0 / 278.1 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.186e-05/0.004721, allocations: 4 kB / 278.1 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-06/0.004724, allocations: 0 / 278.1 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.004726, allocations: 4 kB / 278.1 MB, free: 228 kB / 250.7 MB Notification: Performance of sorting global known variables: time 3.714e-05/0.004763, allocations: 135.2 kB / 278.2 MB, free: 92 kB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004764, allocations: 0 / 278.2 MB, free: 92 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001171/0.004881, allocations: 4 kB / 278.2 MB, free: 88 kB / 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: 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 7.647e-05/0.004957, allocations: 95.25 kB / 278.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.731e-05/0.005024, allocations: 19.62 kB / 278.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.005026, allocations: 0 / 278.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.005027, allocations: 0 / 278.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.005162, allocations: 25.42 kB / 278.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001773/0.005339, allocations: 105.1 kB / 278.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.992e-05/0.005369, allocations: 63.2 kB / 278.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.08e-05/0.00538, allocations: 7.938 kB / 278.5 MB, free: 15.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.005417, allocations: 66.2 kB / 278.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.005417, allocations: 0 / 278.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of Templates: time 0.001637/0.007054, allocations: 401.1 kB / 279 MB, free: 15.26 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/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.6012198152020574]