Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009679/0.0009678, allocations: 196.1 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.222/1.222, allocations: 226.5 MB / 245.4 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007609/0.0007607, allocations: 105 kB / 297.4 MB, free: 6.848 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002022/0.0002022, allocations: 8 kB / 357.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1975, allocations: 51.29 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09746/0.295, allocations: 76.8 MB / 485.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.2953, allocations: 75.95 kB / 485.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001844/0.2971, allocations: 0.7522 MB / 486.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2971, allocations: 0 / 486.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.2972, allocations: 0.75 kB / 486.3 MB, free: 13.96 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.0002903/0.2975, allocations: 332 kB / 486.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2975, allocations: 8.031 kB / 486.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.2975, allocations: 0.9375 kB / 486.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.2977, allocations: 189.4 kB / 486.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.2977, allocations: 384 / 486.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.2977, allocations: 8.359 kB / 486.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.2981, allocations: 120.8 kB / 486.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.2981, allocations: 192 / 486.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2981, allocations: 3.938 kB / 486.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2981, allocations: 0 / 486.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.623e-05/0.2982, allocations: 19.98 kB / 487 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.2983, allocations: 157.7 kB / 487.1 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.2985, allocations: 54.48 kB / 487.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.842e-05/0.2985, allocations: 34.42 kB / 487.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.2986, allocations: 0 / 487.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.2986, allocations: 30.56 kB / 487.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.2986, allocations: 4 kB / 487.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002423/0.2988, allocations: 81.53 kB / 487.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.2989, allocations: 59.41 kB / 487.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.422e-05/0.299, allocations: 101.8 kB / 487.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.299, allocations: 25.7 kB / 487.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.742e-05/0.299, allocations: 84.14 kB / 487.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.153e-05/0.299, allocations: 3.906 kB / 487.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.299, allocations: 4 kB / 487.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2992, allocations: 314.8 kB / 487.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/0.2992, allocations: 4 kB / 487.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.041e-05/0.2992, allocations: 35.67 kB / 487.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.494e-05/0.2993, allocations: 39.38 kB / 488 MB, free: 12.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2993, allocations: 0 / 488 MB, free: 12.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.414e-05/0.2994, allocations: 61.62 kB / 488 MB, free: 11.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.2994, allocations: 4 kB / 488 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2994, allocations: 7.938 kB / 488 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.2994, allocations: 0 / 488 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.388e-05/0.2995, allocations: 7.938 kB / 488 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2995, allocations: 3.938 kB / 488 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.838e-05/0.2995, allocations: 4 kB / 488.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.2995, allocations: 8.109 kB / 488.1 MB, free: 11.95 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.51e-05/0.2996, allocations: 118.8 kB / 488.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.2997, allocations: 53.69 kB / 488.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.2997, allocations: 15.42 kB / 488.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2997, allocations: 7.938 kB / 488.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2998, allocations: 0 / 488.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.2998, allocations: 0 / 488.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.977e-05/0.2998, allocations: 153.7 kB / 488.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2998, allocations: 0 / 488.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.2999, allocations: 11.98 kB / 488.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.2999, allocations: 0 / 488.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.2999, allocations: 3.938 kB / 488.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2999, allocations: 0 / 488.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2999, allocations: 0 / 488.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.3001, allocations: 89.02 kB / 488.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.3001, allocations: 81.05 kB / 488.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.3001, allocations: 3.938 kB / 488.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.989e-05/0.3002, allocations: 11.98 kB / 488.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-06/0.3002, allocations: 288 / 488.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.3002, allocations: 4 kB / 488.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.024e-05/0.3002, allocations: 79.28 kB / 488.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3002, allocations: 3.938 kB / 488.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001662/0.3004, allocations: 4 kB / 488.7 MB, free: 11.21 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: 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 (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 9.181e-05/0.3005, allocations: 103.2 kB / 488.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.3007, allocations: 36.02 kB / 488.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3007, allocations: 0 / 488.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/0.3007, allocations: 0 / 488.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.3009, allocations: 31.14 kB / 488.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002487/0.3012, allocations: 146.3 kB / 489 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.3014, allocations: 0.677 MB / 489.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.3014, allocations: 15.61 kB / 489.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3014, allocations: 4 kB / 489.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of Templates: time 0.001545/0.303, allocations: 0.5851 MB / 490.3 MB, free: 9.555 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches