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.0009433/0.0009433, 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.001096/0.001096, allocations: 169.7 kB / 24.82 MB, free: 9.254 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.054/1.054, allocations: 177.1 MB / 205.3 MB, free: 5.492 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 1.583e-06/1.583e-06, allocations: 0 / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.635e-05, allocations: 6.312 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002803/0.002829, allocations: 1.471 MB / 274.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002155/0.003045, allocations: 35.78 kB / 274.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.015e-05/0.003115, allocations: 4 kB / 274.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.003146, allocations: 0 / 274.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.322e-05/0.003189, allocations: 3.938 kB / 274.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.003434, allocations: 19.97 kB / 274.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.837e-05/0.003512, allocations: 31.92 kB / 275 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.648e-05/0.003599, allocations: 0 / 275 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.28e-05/0.003661, allocations: 19.92 kB / 275 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.185e-05/0.003703, allocations: 15.97 kB / 275 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.003721, allocations: 0 / 275 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.00373, allocations: 8 kB / 275 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.003748, allocations: 4 kB / 275 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.003772, allocations: 7.938 kB / 275 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.831e-05/0.00385, allocations: 23.91 kB / 275 MB, free: 15.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003853, allocations: 0 / 275 MB, free: 15.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.003854, allocations: 0 / 275 MB, free: 15.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.247e-06/0.003857, allocations: 0 / 275 MB, free: 15.64 MB / 266.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.0003156/0.004172, allocations: 368.6 kB / 275.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.004209, allocations: 8.031 kB / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.004238, allocations: 12.83 kB / 275.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.004363, allocations: 132.6 kB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.004378, allocations: 384 / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/0.004385, allocations: 4.375 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.004557, allocations: 102.2 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.004566, allocations: 4.188 kB / 275.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-06/0.004571, allocations: 4.312 kB / 275.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.004576, allocations: 384 / 275.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.171e-05/0.004597, allocations: 11.92 kB / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001012/0.004699, allocations: 101.2 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.99e-05/0.004759, allocations: 43.03 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.004781, allocations: 15.7 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.004789, allocations: 4 kB / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.004814, allocations: 37.39 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.004815, allocations: 0 / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001116/0.004927, allocations: 53.62 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.004964, allocations: 55.41 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.005037, allocations: 165.9 kB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.005045, allocations: 25.7 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.005083, allocations: 130.9 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.358e-06/0.005093, allocations: 3.984 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.005123, allocations: 23.38 kB / 276.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.00525, allocations: 0.4883 MB / 276.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.853e-06/0.005257, allocations: 4 kB / 276.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.65e-06/0.005262, allocations: 0 / 276.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.212e-05/0.005285, allocations: 15.62 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.005286, allocations: 0 / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.758e-05/0.005334, allocations: 37.69 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.005345, allocations: 8.094 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.005349, allocations: 0 / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.00536, allocations: 0 / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.55e-05/0.005396, allocations: 7.938 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.005398, allocations: 0 / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.057e-05/0.005408, allocations: 3.953 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.005414, allocations: 7.938 kB / 276.9 MB, free: 13.58 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.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.732e-05/0.005481, allocations: 156.6 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.005529, allocations: 45.62 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.005551, allocations: 7.688 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.005553, allocations: 0 / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.005555, allocations: 4 kB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.005557, allocations: 4 kB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.606e-05/0.005623, allocations: 97.44 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005625, allocations: 0 / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.439e-05/0.005649, allocations: 8 kB / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.00565, allocations: 0 / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-06/0.005654, allocations: 0 / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.005655, allocations: 4 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.005656, allocations: 0 / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.117e-05/0.005707, allocations: 76.31 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.228e-06/0.005717, allocations: 7.953 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.00573, allocations: 8 kB / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.462e-05/0.005745, allocations: 0 / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-06/0.005747, allocations: 0 / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.005751, allocations: 0 / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.196e-05/0.005793, allocations: 131.2 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005793, allocations: 0 / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.005962, allocations: 4 kB / 277.4 MB, free: 12.97 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 8.434e-05/0.006046, allocations: 99.25 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.369e-05/0.00611, allocations: 23.67 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.006112, allocations: 0 / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.12e-07/0.006112, allocations: 0 / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.006281, allocations: 20.11 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002176/0.006498, allocations: 116.9 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.218e-05/0.006531, allocations: 63.28 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.344e-05/0.006544, allocations: 0 / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.006584, allocations: 70.2 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.006584, allocations: 0 / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of Templates: time 0.002412/0.008996, allocations: 401.2 kB / 278.2 MB, free: 12.14 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.6997449761256576]