Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001646/0.001647, allocations: 195.7 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.59/1.59, allocations: 229.5 MB / 247.7 MB, free: 6.355 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001088, allocations: 103 kB / 299.9 MB, free: 5.379 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002714/0.0002716, allocations: 8 kB / 360.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2718, allocations: 51.41 MB / 412.1 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001297/0.2732, allocations: 0.6057 MB / 412.7 MB, free: 25.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003382/0.2735, allocations: 132.8 kB / 412.8 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.577e-05/0.2736, allocations: 4 kB / 412.8 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.734e-05/0.2737, allocations: 7.875 kB / 412.8 MB, free: 25.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.393e-05/0.2738, allocations: 8.891 kB / 412.8 MB, free: 25.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.2741, allocations: 35.97 kB / 412.8 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.2742, allocations: 68.52 kB / 412.9 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.2743, allocations: 42.95 kB / 413 MB, free: 25.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.607e-05/0.2744, allocations: 15.94 kB / 413 MB, free: 25.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.376e-05/0.2744, allocations: 25.02 kB / 413 MB, free: 25.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.2744, allocations: 0 / 413 MB, free: 25.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.2745, allocations: 4 kB / 413 MB, free: 25.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.538e-05/0.2746, allocations: 25.12 kB / 413 MB, free: 24.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.2746, allocations: 49.45 kB / 413.1 MB, free: 24.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.2748, allocations: 75.69 kB / 413.1 MB, free: 24.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2748, allocations: 4 kB / 413.1 MB, free: 24.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.2748, allocations: 0 / 413.1 MB, free: 24.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.2748, allocations: 0 / 413.1 MB, free: 24.86 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.0004024/0.2752, allocations: 380.8 kB / 413.5 MB, free: 24.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2752, allocations: 8.031 kB / 413.5 MB, free: 24.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.2753, allocations: 8.844 kB / 413.5 MB, free: 24.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.2755, allocations: 209.2 kB / 413.7 MB, free: 24.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.2755, allocations: 8.375 kB / 413.7 MB, free: 24.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.2755, allocations: 12.38 kB / 413.8 MB, free: 24.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.2759, allocations: 220.9 kB / 414 MB, free: 23.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2759, allocations: 192 / 414 MB, free: 23.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.2759, allocations: 3.938 kB / 414 MB, free: 23.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2759, allocations: 4 kB / 414 MB, free: 23.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.56e-05/0.276, allocations: 31.98 kB / 414 MB, free: 23.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.2761, allocations: 189.5 kB / 414.2 MB, free: 23.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.2763, allocations: 130.7 kB / 414.3 MB, free: 23.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.242e-05/0.2764, allocations: 77.05 kB / 414.4 MB, free: 23.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.2765, allocations: 0 / 414.4 MB, free: 23.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.2765, allocations: 42.56 kB / 414.4 MB, free: 23.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 8.92e-07/0.2765, allocations: 0 / 414.4 MB, free: 23.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002549/0.2767, allocations: 153.4 kB / 414.6 MB, free: 23.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.2768, allocations: 63.39 kB / 414.7 MB, free: 23.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.976e-05/0.2769, allocations: 145.6 kB / 414.8 MB, free: 23.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.2769, allocations: 29.7 kB / 414.8 MB, free: 22.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.875e-05/0.277, allocations: 88.45 kB / 414.9 MB, free: 22.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.277, allocations: 11.91 kB / 414.9 MB, free: 22.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.277, allocations: 7.938 kB / 414.9 MB, free: 22.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.473e-05/0.2771, allocations: 318.8 kB / 415.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.977e-05/0.2771, allocations: 23.98 kB / 415.3 MB, free: 22.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.219e-05/0.2772, allocations: 117.7 kB / 415.4 MB, free: 22.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.2773, allocations: 149.5 kB / 415.5 MB, free: 22.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2773, allocations: 0 / 415.5 MB, free: 22.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001621/0.2775, allocations: 157.6 kB / 415.7 MB, free: 22 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.2775, allocations: 11.94 kB / 415.7 MB, free: 21.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2775, allocations: 4 kB / 415.7 MB, free: 21.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.2775, allocations: 4 kB / 415.7 MB, free: 21.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.768e-05/0.2776, allocations: 19.91 kB / 415.7 MB, free: 21.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2776, allocations: 7.938 kB / 415.7 MB, free: 21.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.239e-05/0.2777, allocations: 8 kB / 415.7 MB, free: 21.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.2777, allocations: 8 kB / 415.7 MB, free: 21.93 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.2778, allocations: 141.8 kB / 415.9 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.2779, allocations: 125.4 kB / 416 MB, free: 21.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.278, allocations: 17.19 kB / 416 MB, free: 21.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.278, allocations: 0 / 416 MB, free: 21.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.278, allocations: 0 / 416 MB, free: 21.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.278, allocations: 3.984 kB / 416 MB, free: 21.63 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.275e-05/0.2781, allocations: 181.6 kB / 416.2 MB, free: 21.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2781, allocations: 4 kB / 416.2 MB, free: 21.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.2781, allocations: 3.984 kB / 416.2 MB, free: 21.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2781, allocations: 3.938 kB / 416.2 MB, free: 21.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.2782, allocations: 12 kB / 416.2 MB, free: 21.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2782, allocations: 0 / 416.2 MB, free: 21.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2782, allocations: 3.938 kB / 416.2 MB, free: 21.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.2783, allocations: 144.9 kB / 416.4 MB, free: 21.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.898e-05/0.2784, allocations: 101 kB / 416.5 MB, free: 21.1 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.2784, allocations: 7.938 kB / 416.5 MB, free: 21.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.099e-05/0.2785, allocations: 4 kB / 416.5 MB, free: 21.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-06/0.2785, allocations: 0 / 416.5 MB, free: 21.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.2785, allocations: 8 kB / 416.5 MB, free: 21.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.53e-05/0.2785, allocations: 107.2 kB / 416.6 MB, free: 20.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2785, allocations: 0 / 416.6 MB, free: 20.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002003/0.2787, allocations: 16 kB / 416.6 MB, free: 20.96 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 (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.0001037/0.2788, allocations: 116.4 kB / 416.7 MB, free: 20.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.279, allocations: 93.06 kB / 416.8 MB, free: 20.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.279, allocations: 0 / 416.8 MB, free: 20.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-07/0.279, allocations: 0 / 416.8 MB, free: 20.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.2794, allocations: 94.62 kB / 416.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.2797, allocations: 260.4 kB / 417.2 MB, free: 20.37 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.2799, allocations: 0.7126 MB / 417.9 MB, free: 19.63 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.913e-05/0.2799, allocations: 4.656 kB / 417.9 MB, free: 19.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.2799, allocations: 15.44 kB / 417.9 MB, free: 19.61 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.28, allocations: 0 / 417.9 MB, free: 19.61 MB / 298.7 MB Notification: Performance of Templates: time 0.002893/0.2828, allocations: 0.9543 MB / 418.8 MB, free: 18.66 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches