Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 112.4 kB / 17.29 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 55.91 kB / 300.8 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0844/0.08552, allocations: 49.44 MB / 350.2 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.00259/0.08815, allocations: 0.9683 MB / 351.2 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003993/0.08857, allocations: 131.5 kB / 351.3 MB, free: 3.652 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.629e-05/0.08868, allocations: 0 / 351.3 MB, free: 3.652 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.0888, allocations: 11.92 kB / 351.3 MB, free: 3.641 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.721e-05/0.08892, allocations: 11.92 kB / 351.4 MB, free: 3.629 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.08918, allocations: 41.84 kB / 351.4 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.08932, allocations: 71.77 kB / 351.5 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.08946, allocations: 40.2 kB / 351.5 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.958e-05/0.0895, allocations: 23.92 kB / 351.5 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.08955, allocations: 31.8 kB / 351.6 MB, free: 3.426 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.08958, allocations: 4 kB / 351.6 MB, free: 3.422 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.391e-05/0.0896, allocations: 8 kB / 351.6 MB, free: 3.414 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.62e-05/0.08968, allocations: 23.91 kB / 351.6 MB, free: 3.391 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.08974, allocations: 39.73 kB / 351.6 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.08986, allocations: 59.91 kB / 351.7 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.08987, allocations: 0 / 351.7 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.08987, allocations: 0 / 351.7 MB, free: 3.293 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.08989, allocations: 0 / 351.7 MB, free: 3.293 MB / 286.1 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.000411/0.0903, allocations: 403.3 kB / 352.1 MB, free: 2.848 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.09034, allocations: 8.031 kB / 352.1 MB, free: 2.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.09039, allocations: 8.844 kB / 352.1 MB, free: 2.832 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.09059, allocations: 211 kB / 352.3 MB, free: 2.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.09061, allocations: 8.328 kB / 352.3 MB, free: 2.582 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.09063, allocations: 8.375 kB / 352.3 MB, free: 2.574 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.09103, allocations: 218.3 kB / 352.5 MB, free: 2.352 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.09105, allocations: 192 / 352.5 MB, free: 2.352 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.09107, allocations: 7.938 kB / 352.5 MB, free: 2.344 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.09108, allocations: 0 / 352.5 MB, free: 2.344 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.371e-05/0.09115, allocations: 35.98 kB / 352.6 MB, free: 2.309 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.09133, allocations: 193.5 kB / 352.8 MB, free: 2.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.09155, allocations: 122.7 kB / 352.9 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.09166, allocations: 81.11 kB / 353 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.09168, allocations: 0 / 353 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.09171, allocations: 38.56 kB / 353 MB, free: 1.812 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.002e-06/0.09171, allocations: 0 / 353 MB, free: 1.812 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002703/0.09199, allocations: 164.7 kB / 353.2 MB, free: 1.648 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.09205, allocations: 63.41 kB / 353.2 MB, free: 1.574 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.09217, allocations: 137.7 kB / 353.4 MB, free: 1.43 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.09219, allocations: 29.7 kB / 353.4 MB, free: 1.395 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.09223, allocations: 88.45 kB / 353.5 MB, free: 1.305 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.09226, allocations: 8 kB / 353.5 MB, free: 1.297 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-05/0.09233, allocations: 49.61 kB / 353.5 MB, free: 1.242 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.134e-05/0.09243, allocations: 318.8 kB / 353.8 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.667e-05/0.09248, allocations: 19.98 kB / 353.9 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.721e-05/0.09257, allocations: 124 kB / 354 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.09271, allocations: 153.5 kB / 354.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.09272, allocations: 0 / 354.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002002/0.09293, allocations: 153.5 kB / 354.3 MB, free: 388 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.09295, allocations: 11.88 kB / 354.3 MB, free: 376 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.09296, allocations: 4 kB / 354.3 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.09298, allocations: 12 kB / 354.3 MB, free: 360 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.948e-05/0.09302, allocations: 15.92 kB / 354.3 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.09304, allocations: 11.92 kB / 354.3 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.869e-05/0.0931, allocations: 7.906 kB / 354.4 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.09312, allocations: 8 kB / 354.4 MB, free: 316 kB / 286.1 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,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,$CLKPRE.unitDelay1.u,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.0001482/0.09327, allocations: 157.8 kB / 354.5 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.09343, allocations: 121.5 kB / 354.6 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.676e-05/0.09348, allocations: 13.19 kB / 354.6 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.09349, allocations: 4 kB / 354.6 MB, free: 0 / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.0935, allocations: 0 / 354.6 MB, free: 0 / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.09351, allocations: 0 / 354.6 MB, free: 0 / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.09363, allocations: 185.5 kB / 354.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.09364, allocations: 0 / 354.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.369e-05/0.09367, allocations: 7.984 kB / 354.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.09368, allocations: 7.938 kB / 354.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.0937, allocations: 7.938 kB / 354.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.0937, allocations: 4 kB / 354.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.09371, allocations: 0 / 354.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.09388, allocations: 141 kB / 355 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.09395, allocations: 101 kB / 355.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.09398, allocations: 7.938 kB / 355.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.09401, allocations: 4 kB / 355.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-06/0.09402, allocations: 4 kB / 355.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.09403, allocations: 4 kB / 355.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.487e-05/0.0941, allocations: 107.2 kB / 355.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09411, allocations: 0 / 355.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.09434, allocations: 16 kB / 355.2 MB, free: 15.33 MB / 302.1 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.0001034/0.09445, allocations: 107.2 kB / 355.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.09465, allocations: 110.7 kB / 355.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.09466, allocations: 0 / 355.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.09467, allocations: 0 / 355.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.09504, allocations: 83.92 kB / 355.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.09544, allocations: 296 kB / 355.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.09571, allocations: 0.7122 MB / 356.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.09575, allocations: 19.44 kB / 356.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.09576, allocations: 0 / 356.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of Templates: time 0.0027/0.09846, allocations: 1.193 MB / 357.7 MB, free: 12.76 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches