Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001965/0.001965, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002402/0.002402, allocations: 193.9 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 51.86 kB / 370.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2569, allocations: 52.17 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003209/0.2601, allocations: 1.433 MB / 424.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002058/0.2603, allocations: 39.84 kB / 424.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.2604, allocations: 3.938 kB / 424.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.2604, allocations: 0 / 424.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.862e-05/0.2605, allocations: 3.938 kB / 424.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.2607, allocations: 23.97 kB / 424.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.958e-05/0.2608, allocations: 31.92 kB / 424.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.2609, allocations: 15.92 kB / 424.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.261, allocations: 4 kB / 424.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.431e-05/0.261, allocations: 15.92 kB / 424.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.261, allocations: 0 / 424.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.261, allocations: 4 kB / 424.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.261, allocations: 11.92 kB / 424.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.2611, allocations: 8 kB / 424.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.2612, allocations: 35.62 kB / 424.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2612, allocations: 0 / 424.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2612, allocations: 0 / 424.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.2612, allocations: 4 kB / 424.7 MB, free: 12.84 MB / 334.1 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.0004381/0.2616, allocations: 268.7 kB / 425 MB, free: 12.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2617, allocations: 8.031 kB / 425 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.2617, allocations: 4.922 kB / 425 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.2619, allocations: 118.4 kB / 425.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.262, allocations: 8.359 kB / 425.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.262, allocations: 8.359 kB / 425.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.2623, allocations: 115.9 kB / 425.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2623, allocations: 192 / 425.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.2624, allocations: 3.938 kB / 425.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2624, allocations: 0 / 425.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.2625, allocations: 19.98 kB / 425.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.2626, allocations: 101.3 kB / 425.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.2628, allocations: 50.5 kB / 425.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.334e-05/0.2628, allocations: 24.92 kB / 425.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.2628, allocations: 0 / 425.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.2629, allocations: 34.56 kB / 425.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.2629, allocations: 4 kB / 425.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002658/0.2631, allocations: 77.59 kB / 425.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.2632, allocations: 59.34 kB / 425.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.2633, allocations: 109.8 kB / 425.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.2633, allocations: 25.7 kB / 425.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.2634, allocations: 80.14 kB / 425.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.2634, allocations: 11.89 kB / 425.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.2634, allocations: 13.72 kB / 425.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2636, allocations: 326.8 kB / 426.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.2636, allocations: 4 kB / 426.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.525e-05/0.2637, allocations: 27.44 kB / 426.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.95e-05/0.2637, allocations: 43.36 kB / 426.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2637, allocations: 0 / 426.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.519e-05/0.2638, allocations: 57.64 kB / 426.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2638, allocations: 4 kB / 426.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2638, allocations: 4.188 kB / 426.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.2639, allocations: 7.922 kB / 426.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.807e-05/0.2639, allocations: 12.06 kB / 426.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2639, allocations: 0 / 426.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.839e-05/0.2639, allocations: 11.92 kB / 426.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.264, allocations: 0 / 426.3 MB, free: 11.03 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.0001016/0.2641, allocations: 113.8 kB / 426.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.2642, allocations: 61.62 kB / 426.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.2642, allocations: 7.688 kB / 426.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2642, allocations: 7.938 kB / 426.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2642, allocations: 0 / 426.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2642, allocations: 0 / 426.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.217e-05/0.2643, allocations: 105.3 kB / 426.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2643, allocations: 0 / 426.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.2644, allocations: 7.938 kB / 426.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.2644, allocations: 0 / 426.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.547e-06/0.2644, allocations: 4 kB / 426.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2644, allocations: 0 / 426.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.2644, allocations: 3.938 kB / 426.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.2646, allocations: 89.09 kB / 426.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.2646, allocations: 3.953 kB / 426.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.2646, allocations: 4 kB / 426.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.695e-05/0.2646, allocations: 384 / 426.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-06/0.2646, allocations: 11.88 kB / 426.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.2646, allocations: 4 kB / 426.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.408e-05/0.2647, allocations: 91.27 kB / 426.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2647, allocations: 0 / 426.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001998/0.2649, allocations: 4 kB / 426.8 MB, free: 10.45 MB / 334.1 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 0.0001025/0.265, allocations: 99.19 kB / 426.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.2651, allocations: 23.98 kB / 426.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2651, allocations: 256 / 426.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.42e-07/0.2651, allocations: 7.938 kB / 426.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.2654, allocations: 31.91 kB / 427 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.2657, allocations: 113.6 kB / 427.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.476e-05/0.2658, allocations: 67.2 kB / 427.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.627e-05/0.2658, allocations: 0 / 427.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.2659, allocations: 15.42 kB / 427.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2659, allocations: 0 / 427.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of Templates: time 0.002741/0.2686, allocations: 401.3 kB / 427.6 MB, free: 9.656 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.507628249004483]