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.001494/0.001494, allocations: 200.2 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 226.6 MB / 244.7 MB, free: 8.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008114/0.0008115, allocations: 95.78 kB / 296.8 MB, free: 6.848 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002526/0.0002527, allocations: 8 kB / 356.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2595, allocations: 51.3 MB / 408 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001469/0.261, allocations: 1.222 MB / 409.3 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002948/0.2613, allocations: 136.7 kB / 409.4 MB, free: 26.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.338e-05/0.2614, allocations: 3.938 kB / 409.4 MB, free: 26.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.726e-05/0.2615, allocations: 7.984 kB / 409.4 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.355e-05/0.2616, allocations: 4.875 kB / 409.4 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.2618, allocations: 35.91 kB / 409.5 MB, free: 26.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.207e-05/0.2619, allocations: 36.39 kB / 409.5 MB, free: 26.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.262, allocations: 18.33 kB / 409.5 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.159e-05/0.2621, allocations: 4 kB / 409.5 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.893e-05/0.2621, allocations: 27.84 kB / 409.5 MB, free: 26.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.2621, allocations: 0.5 kB / 409.5 MB, free: 26.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.2621, allocations: 0.5312 kB / 409.5 MB, free: 26.17 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.2622, allocations: 15.92 kB / 409.6 MB, free: 26.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.2622, allocations: 46.95 kB / 409.6 MB, free: 26.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.496e-05/0.2623, allocations: 27.94 kB / 409.6 MB, free: 26.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2623, allocations: 0 / 409.6 MB, free: 26.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2623, allocations: 0 / 409.6 MB, free: 26.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.2624, allocations: 5.219 kB / 409.6 MB, free: 26.07 MB / 298.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.0004507/0.2628, allocations: 365.6 kB / 410 MB, free: 25.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.2629, allocations: 11.97 kB / 410 MB, free: 25.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.2629, allocations: 16.75 kB / 410 MB, free: 25.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.2631, allocations: 195.1 kB / 410.2 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.2631, allocations: 4.375 kB / 410.2 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.2632, allocations: 4.375 kB / 410.2 MB, free: 25.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.2634, allocations: 116.6 kB / 410.3 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.2634, allocations: 192 / 410.3 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2635, allocations: 3.938 kB / 410.3 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.2635, allocations: 4 kB / 410.3 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.48e-05/0.2636, allocations: 39.92 kB / 410.4 MB, free: 25.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.264, allocations: 361.9 kB / 410.7 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.2641, allocations: 87.72 kB / 410.8 MB, free: 24.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.668e-05/0.2641, allocations: 34.62 kB / 410.9 MB, free: 24.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.2642, allocations: 0 / 410.9 MB, free: 24.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.2642, allocations: 38.5 kB / 410.9 MB, free: 24.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2642, allocations: 0 / 410.9 MB, free: 24.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002739/0.2645, allocations: 101.5 kB / 411 MB, free: 24.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.2645, allocations: 107.2 kB / 411.1 MB, free: 24.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.543e-05/0.2646, allocations: 144.4 kB / 411.2 MB, free: 24.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.2646, allocations: 25.7 kB / 411.3 MB, free: 24.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.2647, allocations: 92.12 kB / 411.4 MB, free: 24.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.086e-05/0.2647, allocations: 3.906 kB / 411.4 MB, free: 24.1 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.2647, allocations: 0 / 411.4 MB, free: 24.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.875e-05/0.2648, allocations: 318.8 kB / 411.7 MB, free: 23.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.146e-05/0.2648, allocations: 19.92 kB / 411.7 MB, free: 23.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.254e-05/0.2649, allocations: 43.41 kB / 411.7 MB, free: 23.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.224e-05/0.265, allocations: 63.3 kB / 411.8 MB, free: 23.63 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.265, allocations: 0 / 411.8 MB, free: 23.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001148/0.2651, allocations: 73.61 kB / 411.9 MB, free: 23.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2651, allocations: 4 kB / 411.9 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2651, allocations: 0 / 411.9 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.2652, allocations: 4 kB / 411.9 MB, free: 23.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.298e-05/0.2652, allocations: 4.125 kB / 411.9 MB, free: 23.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.2652, allocations: 3.984 kB / 411.9 MB, free: 23.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.76e-05/0.2652, allocations: 11.98 kB / 411.9 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.2653, allocations: 4 kB / 411.9 MB, free: 23.52 MB / 298.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 0.000111/0.2654, allocations: 129.7 kB / 412 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.2655, allocations: 45.59 kB / 412.1 MB, free: 23.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.2655, allocations: 15.81 kB / 412.1 MB, free: 23.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.2655, allocations: 7.984 kB / 412.1 MB, free: 23.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2655, allocations: 4.031 kB / 412.1 MB, free: 23.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2655, allocations: 0 / 412.1 MB, free: 23.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.2657, allocations: 173.6 kB / 412.3 MB, free: 23.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.2657, allocations: 4 kB / 412.3 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-06/0.2657, allocations: 0 / 412.3 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2657, allocations: 0 / 412.3 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.2657, allocations: 0 / 412.3 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.2658, allocations: 4 kB / 412.3 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2658, allocations: 3.938 kB / 412.3 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.2659, allocations: 267.5 kB / 412.5 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.266, allocations: 93 kB / 412.6 MB, free: 22.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.266, allocations: 4 kB / 412.6 MB, free: 22.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.463e-05/0.2661, allocations: 7.984 kB / 412.6 MB, free: 22.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.2661, allocations: 4 kB / 412.6 MB, free: 22.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.2661, allocations: 4 kB / 412.6 MB, free: 22.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.601e-05/0.2662, allocations: 107.2 kB / 412.7 MB, free: 22.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2662, allocations: 0 / 412.7 MB, free: 22.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000239/0.2664, allocations: 4 kB / 412.8 MB, free: 22.55 MB / 298.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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.815e-05/0.2665, allocations: 105.2 kB / 412.9 MB, free: 22.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.2667, allocations: 43.97 kB / 412.9 MB, free: 22.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2667, allocations: 7.938 kB / 412.9 MB, free: 22.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.146e-05/0.2668, allocations: 11.94 kB / 412.9 MB, free: 22.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.2672, allocations: 27.38 kB / 412.9 MB, free: 22.35 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.2675, allocations: 228.5 kB / 413.2 MB, free: 22.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.2676, allocations: 0.6887 MB / 413.9 MB, free: 21.37 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.2677, allocations: 11.44 kB / 413.9 MB, free: 21.36 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2677, allocations: 3.938 kB / 413.9 MB, free: 21.36 MB / 298.7 MB Notification: Performance of Templates: time 0.00208/0.2698, allocations: 0.7979 MB / 414.7 MB, free: 20.56 MB / 298.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/jenkins/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