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.0007818/0.0007818, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.001943, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007726/0.0007726, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001034/0.001807, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9052/0.9052, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08176/0.987, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.012e-06/1.012e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.776e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001747/0.001765, allocations: 1.529 MB / 246 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 7.333e-05/0.001839, allocations: 39.78 kB / 246.1 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.001877, allocations: 0 / 246.1 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.001896, allocations: 3.938 kB / 246.1 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 1.516e-05/0.001912, allocations: 4 kB / 246.1 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001044/0.002016, allocations: 19.92 kB / 246.1 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.64e-05/0.002082, allocations: 35.91 kB / 246.1 MB, free: 12.69 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.092e-05/0.002153, allocations: 7.938 kB / 246.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.807e-05/0.002211, allocations: 19.92 kB / 246.2 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.287e-05/0.002244, allocations: 7.984 kB / 246.2 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.002263, allocations: 4 kB / 246.2 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.784e-06/0.002271, allocations: 4 kB / 246.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.002284, allocations: 0 / 246.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.002304, allocations: 11.94 kB / 246.2 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.121e-05/0.002376, allocations: 19.97 kB / 246.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.002388, allocations: 4 kB / 246.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.002389, allocations: 0 / 246.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.0024, allocations: 0 / 246.2 MB, free: 12.61 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.0002787/0.002679, allocations: 248.5 kB / 246.5 MB, free: 12.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.588e-05/0.002705, allocations: 8.031 kB / 246.5 MB, free: 12.33 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.002729, allocations: 4.938 kB / 246.5 MB, free: 12.33 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.002843, allocations: 121.7 kB / 246.6 MB, free: 12.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.002859, allocations: 384 / 246.6 MB, free: 12.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.002867, allocations: 8.375 kB / 246.6 MB, free: 12.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.003004, allocations: 100.6 kB / 246.7 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.00301, allocations: 4.188 kB / 246.7 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-06/0.003015, allocations: 384 / 246.7 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.003019, allocations: 384 / 246.7 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.883e-05/0.003038, allocations: 11.92 kB / 246.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.348e-05/0.003101, allocations: 57 kB / 246.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.745e-05/0.003149, allocations: 38.48 kB / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.003166, allocations: 12.86 kB / 246.8 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.003172, allocations: 4 kB / 246.8 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.003188, allocations: 34.56 kB / 246.9 MB, free: 11.87 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 5.71e-07/0.003188, allocations: 0 / 246.9 MB, free: 11.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 7.587e-05/0.003264, allocations: 41.69 kB / 246.9 MB, free: 11.82 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.003298, allocations: 55.41 kB / 247 MB, free: 11.75 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.329e-05/0.003341, allocations: 110.6 kB / 247.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.003351, allocations: 29.7 kB / 247.1 MB, free: 11.6 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.003369, allocations: 84.14 kB / 247.2 MB, free: 11.51 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.292e-06/0.003376, allocations: 0 / 247.2 MB, free: 11.51 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.003395, allocations: 13.72 kB / 247.2 MB, free: 11.49 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.829e-05/0.003463, allocations: 326.8 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-06/0.003468, allocations: 8.25 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-06/0.003471, allocations: 0 / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.679e-05/0.003488, allocations: 12.86 kB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.003489, allocations: 0 / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 2.759e-05/0.003517, allocations: 37.69 kB / 247.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.003527, allocations: 7.938 kB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.00353, allocations: 3.938 kB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.653e-06/0.003537, allocations: 0 / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.499e-05/0.003572, allocations: 4 kB / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.003574, allocations: 4.094 kB / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.933e-06/0.003581, allocations: 0 / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-06/0.003583, allocations: 0 / 247.6 MB, free: 11.08 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 4.585e-05/0.003629, allocations: 117.8 kB / 247.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.003652, allocations: 37.69 kB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.506e-05/0.003667, allocations: 3.688 kB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.51e-07/0.003668, allocations: 4 kB / 247.7 MB, free: 10.9 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.003669, allocations: 0 / 247.7 MB, free: 10.9 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.003672, allocations: 4.219 kB / 247.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.676e-05/0.003709, allocations: 69.84 kB / 247.8 MB, free: 10.81 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.003709, allocations: 0 / 247.8 MB, free: 10.81 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.003728, allocations: 8 kB / 247.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.003736, allocations: 15.86 kB / 247.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.003737, allocations: 0 / 247.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-06/0.00374, allocations: 0 / 247.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.003741, allocations: 4 kB / 247.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.003742, allocations: 0 / 247.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.315e-05/0.003775, allocations: 53.83 kB / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.003785, allocations: 0 / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.141e-05/0.003797, allocations: 7.984 kB / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-06/0.003799, allocations: 0 / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-06/0.0038, allocations: 0 / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.117e-05/0.003811, allocations: 24.84 kB / 247.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003811, allocations: 0 / 247.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.518e-05/0.003897, allocations: 4 kB / 247.9 MB, free: 10.68 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: 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.468e-05/0.003961, allocations: 80.41 kB / 248 MB, free: 10.59 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.996e-05/0.004011, allocations: 20.78 kB / 248 MB, free: 10.57 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.004014, allocations: 0 / 248 MB, free: 10.57 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.5e-07/0.004014, allocations: 3.938 kB / 248 MB, free: 10.56 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.22e-05/0.004096, allocations: 21.38 kB / 248.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.004365, allocations: 123.1 kB / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.452e-05/0.00439, allocations: 55.36 kB / 248.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.065e-06/0.004398, allocations: 4 kB / 248.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.004426, allocations: 47.38 kB / 248.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.004426, allocations: 0 / 248.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of Templates: time 0.001448/0.005874, allocations: 413.2 kB / 248.7 MB, free: 9.871 MB / 250.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 -ignoreHideResult -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.511258501559496]