Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009251/0.0009251, allocations: 194.6 kB / 18.07 MB, free: 3.641 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 226.5 MB / 245.3 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007586/0.0007586, allocations: 96.55 kB / 297.4 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002061/0.0002062, allocations: 4 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1766, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08202/0.2587, allocations: 76.84 MB / 485.5 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.2589, allocations: 75.95 kB / 485.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001383/0.2603, allocations: 0.6752 MB / 486.2 MB, free: 14.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.2603, allocations: 1.219 kB / 486.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.2604, allocations: 0 / 486.3 MB, free: 14.01 MB / 362.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.000252/0.2606, allocations: 324.3 kB / 486.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2607, allocations: 8.031 kB / 486.6 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.2607, allocations: 9.672 kB / 486.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.2608, allocations: 177.2 kB / 486.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.2609, allocations: 5.422 kB / 486.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.2609, allocations: 8.359 kB / 486.8 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.2611, allocations: 98.83 kB / 486.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2611, allocations: 192 / 486.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.2612, allocations: 7.938 kB / 486.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2612, allocations: 0.5938 kB / 486.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.67e-05/0.2612, allocations: 15.48 kB / 486.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.2614, allocations: 160.8 kB / 487 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.2615, allocations: 54.47 kB / 487.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.913e-05/0.2615, allocations: 28.89 kB / 487.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.2616, allocations: 0 / 487.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.2616, allocations: 34.59 kB / 487.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.2616, allocations: 0 / 487.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001713/0.2618, allocations: 65.62 kB / 487.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.2618, allocations: 59.34 kB / 487.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.396e-05/0.2619, allocations: 105.8 kB / 487.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.2619, allocations: 29.7 kB / 487.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.2619, allocations: 88.14 kB / 487.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-06/0.2619, allocations: 3.938 kB / 487.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.262, allocations: 0 / 487.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.089e-05/0.262, allocations: 318.8 kB / 487.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.2621, allocations: 8 kB / 487.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.995e-05/0.2621, allocations: 23.44 kB / 487.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.764e-05/0.2621, allocations: 35.38 kB / 487.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2621, allocations: 0 / 487.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.918e-05/0.2622, allocations: 57.53 kB / 487.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2622, allocations: 8.125 kB / 487.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2622, allocations: 7.938 kB / 488 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.2623, allocations: 0 / 488 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.467e-05/0.2623, allocations: 7.938 kB / 488 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.2623, allocations: 3.984 kB / 488 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.764e-05/0.2623, allocations: 4 kB / 488 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.2623, allocations: 0 / 488 MB, free: 12.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.255e-05/0.2624, allocations: 117.8 kB / 488.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.442e-05/0.2625, allocations: 49.69 kB / 488.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.397e-05/0.2625, allocations: 15.44 kB / 488.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2625, allocations: 0 / 488.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2625, allocations: 4 kB / 488.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2626, allocations: 0 / 488.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.653e-05/0.2626, allocations: 153.7 kB / 488.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2626, allocations: 4 kB / 488.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.2627, allocations: 3.938 kB / 488.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2627, allocations: 0 / 488.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.2627, allocations: 3.938 kB / 488.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2627, allocations: 0 / 488.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2627, allocations: 8 kB / 488.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.2628, allocations: 73.12 kB / 488.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.2628, allocations: 89 kB / 488.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.2629, allocations: 3.938 kB / 488.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.909e-05/0.2629, allocations: 384 / 488.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-06/0.2629, allocations: 0 / 488.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.2629, allocations: 4 kB / 488.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.136e-05/0.2629, allocations: 91.53 kB / 488.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.204e-06/0.263, allocations: 0 / 488.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001676/0.2631, allocations: 7.938 kB / 488.6 MB, free: 11.33 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.272e-05/0.2632, allocations: 103.2 kB / 488.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.524e-05/0.2633, allocations: 19.98 kB / 488.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2633, allocations: 0 / 488.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.2633, allocations: 256 / 488.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.2635, allocations: 31.92 kB / 488.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.2637, allocations: 142.4 kB / 488.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.2639, allocations: 0.6848 MB / 489.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/0.264, allocations: 7.438 kB / 489.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of SimCode: time 3e-07/0.264, allocations: 0 / 489.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of Templates: time 0.001442/0.2654, allocations: 0.5321 MB / 490.1 MB, free: 9.746 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches