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.0009165/0.0009165, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.00105/0.00105, allocations: 158.6 kB / 24.91 MB, free: 8.719 MB / 18.57 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.9375/0.9375, allocations: 177 MB / 205.2 MB, free: 5.027 MB / 186.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.613e-06/1.613e-06, allocations: 0 / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.974e-05, allocations: 9.266 kB / 273.4 MB, free: 1 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002453/0.002472, allocations: 1.53 MB / 275 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002571/0.002729, allocations: 99.56 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.002784, allocations: 0 / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.00281, allocations: 7.922 kB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.716e-05/0.002848, allocations: 0 / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.003058, allocations: 31.84 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.405e-05/0.003132, allocations: 23.92 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.485e-05/0.003207, allocations: 23.97 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/0.003251, allocations: 11.98 kB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.475e-05/0.003276, allocations: 7.938 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.003292, allocations: 0 / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-06/0.0033, allocations: 4 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.003316, allocations: 4 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.003335, allocations: 7.984 kB / 275.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.56e-05/0.00341, allocations: 31.78 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.003413, allocations: 4 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.003414, allocations: 0 / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.003417, allocations: 0 / 275.2 MB, free: 15.2 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.0002496/0.003667, allocations: 236.9 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.003702, allocations: 11.98 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.003729, allocations: 8.938 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.003849, allocations: 121.7 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.003861, allocations: 384 / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.00387, allocations: 4.375 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.004032, allocations: 96.56 kB / 275.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.004037, allocations: 4.188 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.004045, allocations: 4.375 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.004049, allocations: 384 / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.93e-05/0.004068, allocations: 7.938 kB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.59e-05/0.004134, allocations: 61.03 kB / 275.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.758e-05/0.004192, allocations: 26.52 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/0.004213, allocations: 16.84 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.004223, allocations: 0 / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.004246, allocations: 38.56 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.004247, allocations: 4 kB / 275.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 8.972e-05/0.004337, allocations: 45.69 kB / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.004372, allocations: 55.34 kB / 275.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.725e-05/0.004429, allocations: 110.7 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.004439, allocations: 25.7 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.311e-05/0.004462, allocations: 80.14 kB / 276.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.004464, allocations: 3.938 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.00449, allocations: 21.7 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.004576, allocations: 314.8 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-06/0.004578, allocations: 0 / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.606e-06/0.004582, allocations: 0 / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.007e-05/0.004602, allocations: 75.28 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.895e-05/0.004621, allocations: 83.28 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.813e-05/0.004669, allocations: 29.69 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.004699, allocations: 83.28 kB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.00472, allocations: 79.22 kB / 276.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.361e-05/0.004764, allocations: 150.6 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.238e-05/0.004786, allocations: 83.22 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.826e-05/0.004825, allocations: 150.6 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.901e-05/0.004884, allocations: 75.28 kB / 277.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.004903, allocations: 79.22 kB / 277.4 MB, free: 12.89 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: 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 7.271e-05/0.004976, allocations: 197 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.005025, allocations: 41.88 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.858e-05/0.005043, allocations: 3.688 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.005046, allocations: 8.031 kB / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.005048, allocations: 0 / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.00505, allocations: 0 / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.735e-05/0.005107, allocations: 73.83 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.00511, allocations: 0 / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.518e-05/0.005145, allocations: 7.922 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.005148, allocations: 4 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-06/0.005152, allocations: 0 / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.005154, allocations: 0 / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005155, allocations: 4 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.814e-05/0.005193, allocations: 53.08 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.005201, allocations: 7.891 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.005211, allocations: 7.984 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.778e-05/0.005229, allocations: 256 / 277.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-06/0.005231, allocations: 0 / 277.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.005236, allocations: 4 kB / 277.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.35e-05/0.005249, allocations: 8.859 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005249, allocations: 0 / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001909/0.00544, allocations: 11.94 kB / 277.8 MB, free: 12.41 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: 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.843e-05/0.005508, allocations: 80.42 kB / 277.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.594e-05/0.005544, allocations: 15.92 kB / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.005547, allocations: 0 / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.005547, allocations: 0 / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000101/0.005648, allocations: 13.06 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.005836, allocations: 103.6 kB / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.217e-05/0.005868, allocations: 59.34 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.815e-06/0.005876, allocations: 4 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.005907, allocations: 51.38 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.005908, allocations: 0 / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of Templates: time 0.001405/0.007313, allocations: 320 kB / 278.4 MB, free: 11.73 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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.346567864064127]