Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 198.9 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 226.5 MB / 245.3 MB, free: 8.266 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009028/0.0009028, allocations: 101.3 kB / 297.4 MB, free: 6.934 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002061/0.0002062, allocations: 8 kB / 357.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1812, allocations: 51.29 MB / 408.7 MB, free: 27.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08368/0.2649, allocations: 77.12 MB / 485.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.2652, allocations: 75.95 kB / 485.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002984/0.2682, allocations: 1.218 MB / 487.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2682, allocations: 0 / 487.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.2682, allocations: 0 / 487.1 MB, free: 13.25 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.0003445/0.2686, allocations: 357.3 kB / 487.4 MB, free: 12.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.2686, allocations: 15.91 kB / 487.4 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.2686, allocations: 12.83 kB / 487.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.2688, allocations: 197.4 kB / 487.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.2688, allocations: 384 / 487.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.2689, allocations: 4.375 kB / 487.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.2691, allocations: 118 kB / 487.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2691, allocations: 4.188 kB / 487.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.2691, allocations: 7.938 kB / 487.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2692, allocations: 7.938 kB / 487.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.839e-05/0.2693, allocations: 31.97 kB / 487.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.2696, allocations: 365.9 kB / 488.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.773e-05/0.2697, allocations: 71.72 kB / 488.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.279e-05/0.2698, allocations: 34.62 kB / 488.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.2698, allocations: 4 kB / 488.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.2699, allocations: 34.56 kB / 488.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2699, allocations: 0 / 488.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002725/0.2701, allocations: 105.4 kB / 488.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.2702, allocations: 111.1 kB / 488.5 MB, free: 11.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.2703, allocations: 144.5 kB / 488.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.2703, allocations: 29.7 kB / 488.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.504e-05/0.2704, allocations: 92.12 kB / 488.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.885e-06/0.2704, allocations: 0 / 488.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.2704, allocations: 0 / 488.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.129e-05/0.2705, allocations: 318.8 kB / 489.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.523e-05/0.2705, allocations: 15.98 kB / 489.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.998e-05/0.2706, allocations: 35.42 kB / 489.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.209e-05/0.2707, allocations: 59.3 kB / 489.2 MB, free: 10.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2707, allocations: 4 kB / 489.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001358/0.2709, allocations: 77.52 kB / 489.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2709, allocations: 7.938 kB / 489.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2709, allocations: 0 / 489.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2709, allocations: 8.125 kB / 489.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.336e-05/0.2709, allocations: 0 / 489.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.2709, allocations: 0 / 489.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.647e-05/0.271, allocations: 7.984 kB / 489.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.271, allocations: 4 kB / 489.3 MB, free: 10.71 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[1],sample1.u[2],sample1.y[2],sample1.y[1]) * 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.798e-05/0.2711, allocations: 130.7 kB / 489.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.449e-05/0.2712, allocations: 53.53 kB / 489.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.2712, allocations: 11.86 kB / 489.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2712, allocations: 4.031 kB / 489.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2712, allocations: 0 / 489.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2712, allocations: 4 kB / 489.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.2714, allocations: 173.6 kB / 489.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2714, allocations: 4 kB / 489.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-06/0.2715, allocations: 0 / 489.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2715, allocations: 0 / 489.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.2715, allocations: 4 kB / 489.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2715, allocations: 0 / 489.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2715, allocations: 3.984 kB / 489.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.2717, allocations: 263.5 kB / 489.9 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.2718, allocations: 89 kB / 490 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.2718, allocations: 4.141 kB / 490 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.42e-05/0.2719, allocations: 0 / 490 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.2719, allocations: 23.91 kB / 490.1 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.2719, allocations: 0 / 490.1 MB, free: 9.852 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.079e-05/0.272, allocations: 105.8 kB / 490.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.272, allocations: 0 / 490.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002404/0.2722, allocations: 8 kB / 490.2 MB, free: 9.742 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * 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.407e-05/0.2723, allocations: 99.23 kB / 490.3 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.2725, allocations: 47.92 kB / 490.3 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2725, allocations: 0 / 490.3 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.671e-05/0.2725, allocations: 11.98 kB / 490.3 MB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.2729, allocations: 29.52 kB / 490.4 MB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.2733, allocations: 213.7 kB / 490.6 MB, free: 9.301 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.2735, allocations: 0.6965 MB / 491.3 MB, free: 8.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.2735, allocations: 15.42 kB / 491.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2735, allocations: 0 / 491.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of Templates: time 0.001832/0.2754, allocations: 0.8162 MB / 492.1 MB, free: 7.758 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches