Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007434/0.0007434, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001038/0.001781, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009107/0.0009107, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001199/0.002109, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9731/0.9731, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1156/1.089, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.361e-05, allocations: 2.312 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001919/0.001932, allocations: 1.537 MB / 246.5 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001428/0.002075, allocations: 99.62 kB / 246.6 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.846e-05/0.002124, allocations: 0 / 246.6 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.002148, allocations: 7.922 kB / 246.6 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.085e-05/0.002169, allocations: 7.984 kB / 246.7 MB, free: 12 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.002286, allocations: 23.8 kB / 246.7 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.662e-05/0.002363, allocations: 27.92 kB / 246.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.314e-05/0.002436, allocations: 7.984 kB / 246.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.278e-05/0.002488, allocations: 15.98 kB / 246.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.841e-05/0.002517, allocations: 7.938 kB / 246.7 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.002539, allocations: 4 kB / 246.7 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.813e-06/0.002546, allocations: 4 kB / 246.7 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.002561, allocations: 4 kB / 246.8 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.002582, allocations: 11.94 kB / 246.8 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.885e-05/0.002651, allocations: 15.97 kB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.002662, allocations: 0 / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.002663, allocations: 0 / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.002678, allocations: 3.938 kB / 246.8 MB, free: 11.88 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.0002975/0.002975, allocations: 236.6 kB / 247 MB, free: 11.62 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.003004, allocations: 16.02 kB / 247 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.218e-05/0.003026, allocations: 0.9375 kB / 247 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.003143, allocations: 121.7 kB / 247.1 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.00316, allocations: 12.31 kB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.003167, allocations: 384 / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.003318, allocations: 101.3 kB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.003325, allocations: 192 / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.003331, allocations: 4.375 kB / 247.3 MB, free: 11.33 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.003336, allocations: 384 / 247.3 MB, free: 11.33 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.125e-05/0.003357, allocations: 11.92 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.388e-05/0.003411, allocations: 60.98 kB / 247.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.698e-05/0.003478, allocations: 46.53 kB / 247.4 MB, free: 11.19 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.003495, allocations: 8.859 kB / 247.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.003512, allocations: 4 kB / 247.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.00353, allocations: 30.56 kB / 247.4 MB, free: 11.14 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.12e-07/0.00353, allocations: 0 / 247.4 MB, free: 11.14 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 8.323e-05/0.003614, allocations: 45.62 kB / 247.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.003647, allocations: 59.41 kB / 247.5 MB, free: 11.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.741e-05/0.003695, allocations: 106.7 kB / 247.6 MB, free: 10.9 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.003703, allocations: 25.7 kB / 247.7 MB, free: 10.87 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.709e-05/0.00372, allocations: 88.14 kB / 247.7 MB, free: 10.78 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.003721, allocations: 0 / 247.7 MB, free: 10.78 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.003738, allocations: 13.7 kB / 247.8 MB, free: 10.76 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.003805, allocations: 322.8 kB / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-06/0.003807, allocations: 0 / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.855e-06/0.00381, allocations: 256 / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.626e-05/0.003826, allocations: 75.28 kB / 248.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.807e-05/0.003844, allocations: 79.28 kB / 248.2 MB, free: 10.28 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.013e-05/0.003875, allocations: 33.64 kB / 248.3 MB, free: 10.24 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.003898, allocations: 79.28 kB / 248.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.003915, allocations: 75.28 kB / 248.4 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.705e-05/0.003952, allocations: 162.6 kB / 248.6 MB, free: 9.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.925e-05/0.003971, allocations: 87.22 kB / 248.6 MB, free: 9.844 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.062e-05/0.004002, allocations: 150.6 kB / 248.8 MB, free: 9.695 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.965e-05/0.004041, allocations: 83.22 kB / 248.9 MB, free: 9.613 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.004056, allocations: 75.28 kB / 249 MB, free: 9.539 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 5.52e-05/0.004111, allocations: 185.1 kB / 249.1 MB, free: 9.348 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.004144, allocations: 41.69 kB / 249.2 MB, free: 9.301 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.004172, allocations: 7.688 kB / 249.2 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.004173, allocations: 3.938 kB / 249.2 MB, free: 9.289 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.004175, allocations: 4 kB / 249.2 MB, free: 9.285 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.004177, allocations: 3.938 kB / 249.2 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.206e-05/0.00422, allocations: 69.83 kB / 249.3 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.004222, allocations: 0 / 249.3 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.004264, allocations: 4 kB / 249.3 MB, free: 9.191 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-06/0.004268, allocations: 0 / 249.3 MB, free: 9.191 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.004271, allocations: 4 kB / 249.3 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-06/0.004273, allocations: 0 / 249.3 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.004274, allocations: 0 / 249.3 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.004275, allocations: 0 / 249.3 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.209e-05/0.004308, allocations: 61.06 kB / 249.3 MB, free: 9.109 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-06/0.004315, allocations: 4 kB / 249.3 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.424e-05/0.00433, allocations: 4 kB / 249.3 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-06/0.004332, allocations: 0 / 249.3 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.004335, allocations: 0 / 249.3 MB, free: 9.102 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.26e-05/0.004348, allocations: 16.83 kB / 249.4 MB, free: 9.082 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004348, allocations: 0 / 249.4 MB, free: 9.082 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001012/0.004449, allocations: 0 / 249.4 MB, free: 9.082 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 6.151e-05/0.00451, allocations: 80.55 kB / 249.4 MB, free: 8.996 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.946e-05/0.00455, allocations: 8 kB / 249.4 MB, free: 8.988 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.004555, allocations: 8 kB / 249.4 MB, free: 8.98 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.6e-07/0.004555, allocations: 4 kB / 249.4 MB, free: 8.977 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.465e-05/0.00465, allocations: 20.17 kB / 249.5 MB, free: 8.957 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.004951, allocations: 119.1 kB / 249.6 MB, free: 8.82 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.576e-05/0.004977, allocations: 59.3 kB / 249.6 MB, free: 8.742 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.1e-06/0.004982, allocations: 0 / 249.6 MB, free: 8.742 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.005011, allocations: 51.36 kB / 249.7 MB, free: 8.691 MB / 250.7 MB Notification: Performance of SimCode: time 6.81e-07/0.005012, allocations: 4 kB / 249.7 MB, free: 8.688 MB / 250.7 MB Notification: Performance of Templates: time 0.001491/0.006502, allocations: 316.5 kB / 250 MB, free: 8.379 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.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.5274540623649955]