Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001702/0.001701, allocations: 109.9 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 52.11 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2675, allocations: 50.46 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003454/0.271, allocations: 1.568 MB / 408.6 MB, free: 26.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000388/0.2714, allocations: 147.5 kB / 408.8 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.2715, allocations: 7.875 kB / 408.8 MB, free: 26.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.2717, allocations: 0 / 408.8 MB, free: 26.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.91e-05/0.2718, allocations: 7.938 kB / 408.8 MB, free: 26.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.2721, allocations: 39.91 kB / 408.8 MB, free: 26.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.2722, allocations: 43.84 kB / 408.9 MB, free: 25.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.2723, allocations: 23.95 kB / 408.9 MB, free: 25.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.572e-05/0.2724, allocations: 15.92 kB / 408.9 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.325e-05/0.2724, allocations: 15.92 kB / 408.9 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.2725, allocations: 4 kB / 408.9 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.2725, allocations: 0 / 408.9 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.866e-05/0.2726, allocations: 11.94 kB / 408.9 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.2726, allocations: 31.8 kB / 409 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.2727, allocations: 47.81 kB / 409 MB, free: 25.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2728, allocations: 0 / 409 MB, free: 25.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2728, allocations: 0 / 409 MB, free: 25.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.2728, allocations: 0 / 409 MB, free: 25.84 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.0004762/0.2733, allocations: 372.7 kB / 409.4 MB, free: 25.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.2733, allocations: 12.03 kB / 409.4 MB, free: 25.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.2734, allocations: 12.83 kB / 409.4 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.2736, allocations: 192.1 kB / 409.6 MB, free: 25.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.2736, allocations: 12.38 kB / 409.6 MB, free: 25.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.2736, allocations: 384 / 409.6 MB, free: 25.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.2739, allocations: 118.5 kB / 409.7 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2739, allocations: 192 / 409.7 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2739, allocations: 3.938 kB / 409.7 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.274, allocations: 4 kB / 409.7 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.335e-05/0.2741, allocations: 35.91 kB / 409.8 MB, free: 24.99 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.2744, allocations: 350 kB / 410.1 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.2746, allocations: 87.7 kB / 410.2 MB, free: 24.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.229e-05/0.2746, allocations: 30.64 kB / 410.2 MB, free: 24.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.2747, allocations: 3.938 kB / 410.2 MB, free: 24.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.2747, allocations: 38.55 kB / 410.3 MB, free: 24.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2747, allocations: 0 / 410.3 MB, free: 24.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003065/0.275, allocations: 93.52 kB / 410.4 MB, free: 24.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.2751, allocations: 106.8 kB / 410.5 MB, free: 24.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.2752, allocations: 141.7 kB / 410.6 MB, free: 24.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.2752, allocations: 29.7 kB / 410.6 MB, free: 23.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.2752, allocations: 92.5 kB / 410.7 MB, free: 23.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.838e-06/0.2753, allocations: 7.875 kB / 410.7 MB, free: 23.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.2753, allocations: 29.61 kB / 410.8 MB, free: 23.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.383e-05/0.2754, allocations: 314.8 kB / 411.1 MB, free: 23.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.546e-05/0.2754, allocations: 15.98 kB / 411.1 MB, free: 23.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.489e-05/0.2755, allocations: 31.42 kB / 411.1 MB, free: 23.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.271e-05/0.2756, allocations: 59.3 kB / 411.2 MB, free: 23.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2756, allocations: 4 kB / 411.2 MB, free: 23.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001158/0.2757, allocations: 69.61 kB / 411.2 MB, free: 23.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2757, allocations: 8.125 kB / 411.2 MB, free: 23.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2757, allocations: 0 / 411.2 MB, free: 23.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.2758, allocations: 4 kB / 411.2 MB, free: 23.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.204e-05/0.2758, allocations: 3.938 kB / 411.2 MB, free: 23.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2758, allocations: 4 kB / 411.3 MB, free: 23.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.509e-05/0.2759, allocations: 3.906 kB / 411.3 MB, free: 23.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.2759, allocations: 4 kB / 411.3 MB, free: 23.29 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.2761, allocations: 131.2 kB / 411.4 MB, free: 23.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.969e-05/0.2761, allocations: 49.69 kB / 411.4 MB, free: 23.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.2762, allocations: 7.875 kB / 411.4 MB, free: 23.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.2762, allocations: 4 kB / 411.4 MB, free: 23.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2762, allocations: 3.984 kB / 411.5 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2762, allocations: 0 / 411.5 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.2764, allocations: 177.5 kB / 411.6 MB, free: 22.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2764, allocations: 4 kB / 411.6 MB, free: 22.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-06/0.2764, allocations: 3.938 kB / 411.6 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2764, allocations: 0 / 411.6 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.2764, allocations: 0 / 411.6 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2765, allocations: 4.031 kB / 411.6 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2765, allocations: 8 kB / 411.6 MB, free: 22.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.2768, allocations: 0.8257 MB / 412.5 MB, free: 21.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.2769, allocations: 97 kB / 412.6 MB, free: 21.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.2769, allocations: 0 / 412.6 MB, free: 21.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.235e-05/0.277, allocations: 7.984 kB / 412.6 MB, free: 21.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.277, allocations: 7.938 kB / 412.6 MB, free: 21.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.2771, allocations: 0 / 412.6 MB, free: 21.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.101e-05/0.2771, allocations: 110.1 kB / 412.7 MB, free: 21.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.2771, allocations: 0 / 412.7 MB, free: 21.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003736/0.2775, allocations: 11.94 kB / 412.7 MB, free: 21.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000116/0.2776, allocations: 103.2 kB / 412.8 MB, free: 21.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.2778, allocations: 39.91 kB / 412.8 MB, free: 21.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2778, allocations: 0 / 412.8 MB, free: 21.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.111e-05/0.2778, allocations: 15.94 kB / 412.9 MB, free: 21.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.2782, allocations: 24.52 kB / 412.9 MB, free: 21.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.2787, allocations: 312.3 kB / 413.2 MB, free: 21.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.2789, allocations: 0.6965 MB / 413.9 MB, free: 20.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.443e-05/0.279, allocations: 4 kB / 413.9 MB, free: 20.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.279, allocations: 7.438 kB / 413.9 MB, free: 20.43 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.279, allocations: 4 kB / 413.9 MB, free: 20.42 MB / 298.7 MB Notification: Performance of Templates: time 0.003048/0.2821, allocations: 0.5634 MB / 414.5 MB, free: 19.88 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches