Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.001481/0.001481, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001531/0.001531, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 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.501/1.501, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.062e-05, allocations: 6.312 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003968/0.003999, allocations: 1.44 MB / 268.8 MB, free: 5.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004214/0.00442, allocations: 99.62 kB / 268.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.94e-05/0.00449, allocations: 0 / 268.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.004522, allocations: 7.938 kB / 268.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.114e-05/0.004573, allocations: 7.938 kB / 268.9 MB, free: 5.156 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.004851, allocations: 15.97 kB / 268.9 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.004955, allocations: 31.86 kB / 268.9 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.00506, allocations: 7.984 kB / 268.9 MB, free: 5.102 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.424e-05/0.005124, allocations: 11.98 kB / 268.9 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.438e-05/0.005159, allocations: 8 kB / 268.9 MB, free: 5.082 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.005177, allocations: 0 / 268.9 MB, free: 5.082 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/0.005193, allocations: 7.938 kB / 269 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.966e-05/0.005222, allocations: 3.984 kB / 269 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.005261, allocations: 8 kB / 269 MB, free: 5.062 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.005379, allocations: 39.77 kB / 269 MB, free: 5.023 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.005381, allocations: 0 / 269 MB, free: 5.023 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005382, allocations: 0 / 269 MB, free: 5.023 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.005386, allocations: 0 / 269 MB, free: 5.023 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.0005272/0.005913, allocations: 266.2 kB / 269.3 MB, free: 4.73 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.005953, allocations: 8.031 kB / 269.3 MB, free: 4.723 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.006002, allocations: 4.938 kB / 269.3 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.006271, allocations: 121.7 kB / 269.4 MB, free: 4.574 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.006293, allocations: 384 / 269.4 MB, free: 4.574 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.006306, allocations: 4.375 kB / 269.4 MB, free: 4.57 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.006695, allocations: 103.9 kB / 269.5 MB, free: 4.457 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.006705, allocations: 192 / 269.5 MB, free: 4.457 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.006714, allocations: 384 / 269.5 MB, free: 4.457 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.006719, allocations: 384 / 269.5 MB, free: 4.457 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.006821, allocations: 23.84 kB / 269.5 MB, free: 4.434 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.007005, allocations: 101.3 kB / 269.6 MB, free: 4.305 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.007216, allocations: 54.58 kB / 269.7 MB, free: 4.242 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.655e-05/0.007292, allocations: 16.86 kB / 269.7 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.007313, allocations: 0 / 269.7 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/0.00736, allocations: 34.59 kB / 269.7 MB, free: 4.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.007361, allocations: 0 / 269.7 MB, free: 4.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000295/0.007656, allocations: 65.62 kB / 269.8 MB, free: 4.109 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.007725, allocations: 51.41 kB / 269.8 MB, free: 4.047 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.007867, allocations: 113.7 kB / 270 MB, free: 3.926 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.007896, allocations: 29.7 kB / 270 MB, free: 3.891 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.007965, allocations: 80.14 kB / 270.1 MB, free: 3.809 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.007968, allocations: 4 kB / 270.1 MB, free: 3.805 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.008019, allocations: 13.72 kB / 270.1 MB, free: 3.785 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004402/0.008459, allocations: 314.8 kB / 270.4 MB, free: 3.469 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.008468, allocations: 4 kB / 270.4 MB, free: 3.465 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-06/0.008472, allocations: 3.938 kB / 270.4 MB, free: 3.461 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.753e-05/0.008529, allocations: 79.28 kB / 270.5 MB, free: 3.383 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.423e-05/0.008583, allocations: 75.28 kB / 270.5 MB, free: 3.309 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.317e-05/0.008677, allocations: 29.64 kB / 270.6 MB, free: 3.273 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.835e-05/0.008745, allocations: 83.28 kB / 270.7 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-05/0.008805, allocations: 79.34 kB / 270.7 MB, free: 3.113 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001272/0.008932, allocations: 158.5 kB / 270.9 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.472e-05/0.008986, allocations: 79.28 kB / 271 MB, free: 2.879 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001081/0.009095, allocations: 154.5 kB / 271.1 MB, free: 2.727 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.00923, allocations: 83.16 kB / 271.2 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.00929, allocations: 83.53 kB / 271.3 MB, free: 2.562 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001645/0.009454, allocations: 181.1 kB / 271.5 MB, free: 2.375 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.009608, allocations: 57.62 kB / 271.5 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.836e-05/0.009647, allocations: 7.688 kB / 271.5 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.009649, allocations: 0 / 271.5 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.009655, allocations: 4 kB / 271.5 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.009661, allocations: 7.938 kB / 271.5 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.00979, allocations: 105.3 kB / 271.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.009794, allocations: 0 / 271.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.93e-05/0.009843, allocations: 0 / 271.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.009846, allocations: 0 / 271.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.009853, allocations: 4 kB / 271.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.009855, allocations: 0 / 271.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009857, allocations: 0 / 271.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.01007, allocations: 92.94 kB / 271.7 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.01008, allocations: 288 / 271.7 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.01009, allocations: 0 / 271.7 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.328e-05/0.01012, allocations: 8 kB / 271.7 MB, free: 2.035 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-06/0.01013, allocations: 3.984 kB / 271.7 MB, free: 2.031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.01014, allocations: 0 / 271.7 MB, free: 2.031 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.205e-05/0.01022, allocations: 87.27 kB / 271.8 MB, free: 1.945 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01022, allocations: 0 / 271.8 MB, free: 1.945 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003929/0.01061, allocations: 4 kB / 271.8 MB, free: 1.941 MB / 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.000169/0.01078, allocations: 99.19 kB / 271.9 MB, free: 1.832 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.037e-05/0.01087, allocations: 11.98 kB / 271.9 MB, free: 1.82 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.01087, allocations: 4 kB / 271.9 MB, free: 1.816 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.01087, allocations: 7.938 kB / 271.9 MB, free: 1.809 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.01121, allocations: 23.97 kB / 272 MB, free: 1.785 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.01155, allocations: 115.5 kB / 272.1 MB, free: 1.648 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.712e-05/0.01165, allocations: 63.34 kB / 272.1 MB, free: 1.566 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.424e-05/0.01167, allocations: 0 / 272.1 MB, free: 1.566 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.0117, allocations: 8.5 kB / 272.2 MB, free: 1.559 MB / 250.7 MB Notification: Performance of SimCode: time 4.01e-07/0.0117, allocations: 0 / 272.2 MB, free: 1.559 MB / 250.7 MB Notification: Performance of Templates: time 0.00327/0.01497, allocations: 298.4 kB / 272.4 MB, free: 1.266 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.176463030977175]