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.001036/0.001036, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001271/0.001271, allocations: 160.1 kB / 25.61 MB, free: 8.582 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.9663/0.9663, allocations: 177 MB / 205.9 MB, free: 4.457 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.312e-06/1.312e-06, allocations: 0 / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.595e-05, allocations: 7.281 kB / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002505/0.002531, allocations: 1.485 MB / 275.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002801/0.002811, allocations: 103.6 kB / 275.7 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.876e-05/0.00288, allocations: 7.875 kB / 275.7 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.002909, allocations: 3.984 kB / 275.7 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.803e-05/0.002947, allocations: 3.938 kB / 275.7 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.003173, allocations: 15.98 kB / 275.7 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.447e-05/0.003248, allocations: 29.7 kB / 275.8 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.862e-05/0.003336, allocations: 11.92 kB / 275.8 MB, free: 2.637 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.6e-05/0.003382, allocations: 23.91 kB / 275.8 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.385e-05/0.003406, allocations: 4 kB / 275.8 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.003423, allocations: 0 / 275.8 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.003431, allocations: 4.781 kB / 275.8 MB, free: 2.605 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.003448, allocations: 0 / 275.8 MB, free: 2.605 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.003471, allocations: 12.56 kB / 275.8 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.13e-05/0.003552, allocations: 23.89 kB / 275.8 MB, free: 2.57 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.003554, allocations: 2.469 kB / 275.8 MB, free: 2.57 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003555, allocations: 0 / 275.8 MB, free: 2.57 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.003559, allocations: 0 / 275.8 MB, free: 2.57 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.0003209/0.00388, allocations: 360.6 kB / 276.2 MB, free: 2.18 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.003914, allocations: 12.03 kB / 276.2 MB, free: 2.168 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.00394, allocations: 0.9375 kB / 276.2 MB, free: 2.168 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.004076, allocations: 126.4 kB / 276.3 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.004093, allocations: 4.375 kB / 276.3 MB, free: 2.016 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.0041, allocations: 384 / 276.3 MB, free: 2.016 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.004277, allocations: 103.3 kB / 276.4 MB, free: 1.898 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.004284, allocations: 0.8438 kB / 276.4 MB, free: 1.898 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-06/0.004291, allocations: 4.359 kB / 276.4 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.004298, allocations: 12.31 kB / 276.4 MB, free: 1.883 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.004319, allocations: 11.92 kB / 276.5 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.295e-05/0.004402, allocations: 93.27 kB / 276.5 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.757e-05/0.004469, allocations: 43.03 kB / 276.6 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/0.004494, allocations: 11.72 kB / 276.6 MB, free: 1.684 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.004505, allocations: 0 / 276.6 MB, free: 1.684 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.004533, allocations: 53.36 kB / 276.7 MB, free: 1.621 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.004533, allocations: 0 / 276.7 MB, free: 1.621 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.00011/0.004644, allocations: 45.64 kB / 276.7 MB, free: 1.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.004682, allocations: 59.41 kB / 276.8 MB, free: 1.5 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.782e-05/0.004759, allocations: 165.9 kB / 276.9 MB, free: 1.32 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.004768, allocations: 25.7 kB / 276.9 MB, free: 1.289 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.962e-05/0.004808, allocations: 134.9 kB / 277.1 MB, free: 1.152 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.004809, allocations: 0 / 277.1 MB, free: 1.152 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.004833, allocations: 15.38 kB / 277.1 MB, free: 1.129 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.004958, allocations: 0.4883 MB / 277.6 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.755e-06/0.00496, allocations: 0 / 277.6 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-06/0.004966, allocations: 3.938 kB / 277.6 MB, free: 0.625 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.061e-05/0.004996, allocations: 119.2 kB / 277.7 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.853e-05/0.005025, allocations: 123.2 kB / 277.8 MB, free: 396 kB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.204e-05/0.005077, allocations: 33.7 kB / 277.9 MB, free: 356 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.005115, allocations: 127.2 kB / 278 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.159e-05/0.005146, allocations: 127.2 kB / 278.1 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.828e-05/0.005224, allocations: 242.3 kB / 278.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.801e-05/0.005253, allocations: 119.2 kB / 278.5 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.835e-05/0.005311, allocations: 242.3 kB / 278.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.564e-05/0.005376, allocations: 123.2 kB / 278.8 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.005407, allocations: 123.1 kB / 278.9 MB, free: 15.26 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 9.671e-05/0.005503, allocations: 275.7 kB / 279.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.005558, allocations: 45.69 kB / 279.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.005581, allocations: 7.688 kB / 279.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.005583, allocations: 8 kB / 279.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.005585, allocations: 0 / 279.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.005589, allocations: 0 / 279.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.045e-05/0.005659, allocations: 101.2 kB / 279.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.005662, allocations: 0 / 279.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.005701, allocations: 3.938 kB / 279.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.005704, allocations: 0 / 279.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-06/0.005709, allocations: 4 kB / 279.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.00571, allocations: 0 / 279.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.005711, allocations: 0 / 279.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.995e-05/0.005761, allocations: 76.5 kB / 279.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-06/0.005768, allocations: 7.938 kB / 279.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.779e-06/0.005778, allocations: 3.984 kB / 279.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.335e-05/0.005801, allocations: 8 kB / 279.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-06/0.005804, allocations: 256 / 279.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.005807, allocations: 0 / 279.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.248e-05/0.00585, allocations: 131.2 kB / 279.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00585, allocations: 0 / 279.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001954/0.006045, allocations: 4 kB / 279.6 MB, free: 14.53 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 8.298e-05/0.006128, allocations: 91.25 kB / 279.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.591e-05/0.006174, allocations: 8 kB / 279.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.006176, allocations: 4 kB / 279.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.006176, allocations: 0 / 279.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.006356, allocations: 25.02 kB / 279.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002008/0.006557, allocations: 113.3 kB / 279.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.136e-05/0.006588, allocations: 59.22 kB / 279.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.402e-06/0.006595, allocations: 0 / 279.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.006632, allocations: 70.2 kB / 280 MB, free: 14.11 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.006632, allocations: 0 / 280 MB, free: 14.11 MB / 266.7 MB Notification: Performance of Templates: time 0.001835/0.008467, allocations: 315.8 kB / 280.3 MB, free: 13.81 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 -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.7009552041999996]