Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009835/0.0009838, allocations: 195.3 kB / 17.38 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 226.5 MB / 244.7 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008401/0.00084, allocations: 96.2 kB / 296.8 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002661/0.0002662, allocations: 4 kB / 356.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2768, allocations: 51.3 MB / 408 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.0009848/0.2778, allocations: 0.6053 MB / 408.7 MB, free: 27.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002685/0.2781, allocations: 131.6 kB / 408.8 MB, free: 26.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.367e-05/0.2782, allocations: 0 / 408.8 MB, free: 26.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.497e-05/0.2783, allocations: 11.92 kB / 408.8 MB, free: 26.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.379e-05/0.2784, allocations: 0 / 408.8 MB, free: 26.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.2786, allocations: 39.89 kB / 408.8 MB, free: 26.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.341e-05/0.2787, allocations: 56.53 kB / 408.9 MB, free: 26.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.2788, allocations: 43.94 kB / 408.9 MB, free: 26.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.515e-05/0.2788, allocations: 15.94 kB / 408.9 MB, free: 26.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.511e-05/0.2789, allocations: 23.78 kB / 409 MB, free: 26.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2789, allocations: 4 kB / 409 MB, free: 26.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.2789, allocations: 0.9375 kB / 409 MB, free: 26.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.279, allocations: 19.92 kB / 409 MB, free: 26.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.279, allocations: 53.52 kB / 409 MB, free: 26.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.953e-05/0.2791, allocations: 52.69 kB / 409.1 MB, free: 26.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2791, allocations: 0 / 409.1 MB, free: 26.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2791, allocations: 0.6875 kB / 409.1 MB, free: 26.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.2791, allocations: 7.938 kB / 409.1 MB, free: 26.63 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000286/0.2794, allocations: 370.4 kB / 409.5 MB, free: 26.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2795, allocations: 15.97 kB / 409.5 MB, free: 26.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.2795, allocations: 12.83 kB / 409.5 MB, free: 26.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.2796, allocations: 200 kB / 409.7 MB, free: 25.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.2797, allocations: 9.062 kB / 409.7 MB, free: 25.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.2797, allocations: 8.375 kB / 409.7 MB, free: 25.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.28, allocations: 226.5 kB / 409.9 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.28, allocations: 4.188 kB / 409.9 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.28, allocations: 7.938 kB / 409.9 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.28, allocations: 0 / 409.9 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.221e-05/0.2801, allocations: 35.97 kB / 410 MB, free: 25.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.2802, allocations: 189.5 kB / 410.2 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.2804, allocations: 125.2 kB / 410.3 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.016e-05/0.2805, allocations: 82.73 kB / 410.4 MB, free: 25.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.2805, allocations: 4 kB / 410.4 MB, free: 25.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.2805, allocations: 34.56 kB / 410.4 MB, free: 25.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.011e-06/0.2805, allocations: 0 / 410.4 MB, free: 25.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002211/0.2808, allocations: 149.4 kB / 410.5 MB, free: 25.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.2808, allocations: 64.11 kB / 410.6 MB, free: 24.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/0.2809, allocations: 148.5 kB / 410.8 MB, free: 24.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.2809, allocations: 25.7 kB / 410.8 MB, free: 24.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.967e-05/0.281, allocations: 88.47 kB / 410.9 MB, free: 24.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.281, allocations: 15.89 kB / 410.9 MB, free: 24.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.281, allocations: 4 kB / 410.9 MB, free: 24.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.516e-05/0.281, allocations: 322.8 kB / 411.2 MB, free: 24.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.769e-05/0.2811, allocations: 19.98 kB / 411.2 MB, free: 24.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-05/0.2811, allocations: 117.6 kB / 411.3 MB, free: 24.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.27e-05/0.2812, allocations: 157.5 kB / 411.5 MB, free: 23.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2812, allocations: 0 / 411.5 MB, free: 23.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001573/0.2814, allocations: 149.3 kB / 411.6 MB, free: 23.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.2814, allocations: 11.94 kB / 411.6 MB, free: 23.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2814, allocations: 0 / 411.6 MB, free: 23.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2814, allocations: 8 kB / 411.7 MB, free: 23.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.432e-05/0.2815, allocations: 15.92 kB / 411.7 MB, free: 23.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.2815, allocations: 7.938 kB / 411.7 MB, free: 23.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.02e-05/0.2815, allocations: 8.469 kB / 411.7 MB, free: 23.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.2816, allocations: 12 kB / 411.7 MB, free: 23.73 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 9.662e-05/0.2817, allocations: 145.7 kB / 411.8 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.2818, allocations: 124.5 kB / 412 MB, free: 23.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.955e-05/0.2818, allocations: 17.19 kB / 412 MB, free: 23.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2818, allocations: 4 kB / 412 MB, free: 23.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2819, allocations: 0 / 412 MB, free: 23.42 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2819, allocations: 0 / 412 MB, free: 23.42 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.411e-05/0.2819, allocations: 189.6 kB / 412.2 MB, free: 23.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.282, allocations: 4 kB / 412.2 MB, free: 23.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.282, allocations: 4 kB / 412.2 MB, free: 23.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.282, allocations: 7.875 kB / 412.2 MB, free: 23.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.282, allocations: 7.984 kB / 412.2 MB, free: 23.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.282, allocations: 0 / 412.2 MB, free: 23.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.282, allocations: 3.984 kB / 412.2 MB, free: 23.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.2821, allocations: 148.9 kB / 412.3 MB, free: 23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.2822, allocations: 101 kB / 412.4 MB, free: 22.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.2822, allocations: 7.938 kB / 412.4 MB, free: 22.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/0.2822, allocations: 4 kB / 412.4 MB, free: 22.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-06/0.2823, allocations: 4 kB / 412.5 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.2823, allocations: 0 / 412.5 MB, free: 22.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.223e-05/0.2823, allocations: 105.8 kB / 412.6 MB, free: 22.76 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2823, allocations: 0 / 412.6 MB, free: 22.76 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002062/0.2825, allocations: 16 kB / 412.6 MB, free: 22.75 MB / 298.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: 16 (unitDelay1.u,unitDelay1.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.024e-05/0.2826, allocations: 119.1 kB / 412.7 MB, free: 22.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.2828, allocations: 91.78 kB / 412.8 MB, free: 22.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2828, allocations: 0 / 412.8 MB, free: 22.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.2828, allocations: 0 / 412.8 MB, free: 22.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.2831, allocations: 87.88 kB / 412.9 MB, free: 22.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.2834, allocations: 280.7 kB / 413.1 MB, free: 22.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.2835, allocations: 0.7087 MB / 413.8 MB, free: 21.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.2835, allocations: 15.44 kB / 413.9 MB, free: 21.39 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2835, allocations: 0 / 413.9 MB, free: 21.39 MB / 298.7 MB Notification: Performance of Templates: time 0.002053/0.2856, allocations: 1.177 MB / 415 MB, free: 20.21 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches