Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009077/0.0009078, allocations: 199.6 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.248/1.248, allocations: 226.5 MB / 245.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007636/0.0007636, allocations: 106.7 kB / 297.4 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001984/0.0001984, allocations: 4 kB / 357.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1788, allocations: 51.29 MB / 408.7 MB, free: 27.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08192/0.2608, allocations: 77.24 MB / 485.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.261, allocations: 79.94 kB / 486 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002465/0.2635, allocations: 1.103 MB / 487.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2635, allocations: 0 / 487.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.2635, allocations: 8 kB / 487.1 MB, free: 13.21 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002926/0.2638, allocations: 348.5 kB / 487.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.2639, allocations: 12.03 kB / 487.4 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.2639, allocations: 9.438 kB / 487.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.2641, allocations: 184.2 kB / 487.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.2641, allocations: 7.875 kB / 487.6 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.2641, allocations: 4.375 kB / 487.6 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.2643, allocations: 109.6 kB / 487.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.2644, allocations: 4.188 kB / 487.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.2644, allocations: 3.938 kB / 487.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2644, allocations: 0 / 487.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.189e-05/0.2645, allocations: 27.91 kB / 487.8 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.2647, allocations: 257.8 kB / 488 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.2649, allocations: 142.2 kB / 488.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.801e-05/0.265, allocations: 21.78 kB / 488.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.265, allocations: 7.984 kB / 488.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.265, allocations: 34.56 kB / 488.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.265, allocations: 4 kB / 488.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001897/0.2652, allocations: 69.53 kB / 488.3 MB, free: 11.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.2653, allocations: 81.11 kB / 488.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.906e-05/0.2654, allocations: 133.8 kB / 488.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.2654, allocations: 25.7 kB / 488.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.2654, allocations: 91.98 kB / 488.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.375e-06/0.2655, allocations: 8.125 kB / 488.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-06/0.2655, allocations: 0 / 488.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.311e-05/0.2656, allocations: 314.8 kB / 489 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.988e-05/0.2656, allocations: 7.984 kB / 489 MB, free: 11.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.68e-05/0.2656, allocations: 31.38 kB / 489 MB, free: 11.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.398e-05/0.2657, allocations: 51.36 kB / 489 MB, free: 10.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2657, allocations: 0 / 489 MB, free: 10.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001015/0.2658, allocations: 61.56 kB / 489.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2659, allocations: 8.125 kB / 489.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2659, allocations: 4 kB / 489.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.2659, allocations: 0 / 489.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.036e-05/0.2659, allocations: 4 kB / 489.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2659, allocations: 3.984 kB / 489.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.976e-05/0.2659, allocations: 3.984 kB / 489.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.266, allocations: 4 kB / 489.1 MB, free: 10.89 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: 4 (sample1.u,sample1.y,assignClock.y,assignClock.u) * 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 7.003e-05/0.266, allocations: 121.7 kB / 489.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.2661, allocations: 49.59 kB / 489.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.2661, allocations: 19.84 kB / 489.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2662, allocations: 0 / 489.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.2662, allocations: 0 / 489.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2662, allocations: 0 / 489.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.2663, allocations: 173.6 kB / 489.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2663, allocations: 0 / 489.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-06/0.2663, allocations: 0 / 489.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2663, allocations: 0 / 489.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.2664, allocations: 0 / 489.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2664, allocations: 11.98 kB / 489.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2664, allocations: 0 / 489.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.2665, allocations: 168.5 kB / 489.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.2666, allocations: 93 kB / 489.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.2666, allocations: 4 kB / 489.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.153e-05/0.2667, allocations: 48 / 489.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.2667, allocations: 3.984 kB / 489.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.2667, allocations: 7.984 kB / 489.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.464e-05/0.2668, allocations: 107.3 kB / 489.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2668, allocations: 3.938 kB / 489.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002015/0.267, allocations: 4 kB / 489.9 MB, free: 10.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,assignClock.u,assignClock.y,sample1.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 7.512e-05/0.2671, allocations: 95.25 kB / 490 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.914e-05/0.2672, allocations: 27.92 kB / 490 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2672, allocations: 256 / 490 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.621e-05/0.2672, allocations: 16 kB / 490 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.2675, allocations: 30.3 kB / 490 MB, free: 9.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.2678, allocations: 187 kB / 490.2 MB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.268, allocations: 0.6888 MB / 490.9 MB, free: 8.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.229e-05/0.2681, allocations: 15.42 kB / 490.9 MB, free: 8.902 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2681, allocations: 0 / 490.9 MB, free: 8.902 MB / 362.7 MB Notification: Performance of Templates: time 0.001606/0.2697, allocations: 0.6704 MB / 491.6 MB, free: 8.238 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches