Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008722/0.0008723, allocations: 183.7 kB / 16.71 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 225.7 MB / 243.2 MB, free: 10.21 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000729/0.0007293, allocations: 93.05 kB / 294.4 MB, free: 9.738 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002474/0.0002475, allocations: 8 kB / 354.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2235, allocations: 50.41 MB / 404.6 MB, free: 31.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001305/0.2249, allocations: 0.6016 MB / 405.2 MB, free: 30.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003166/0.2252, allocations: 143.6 kB / 405.3 MB, free: 30.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.374e-05/0.2253, allocations: 0.625 kB / 405.3 MB, free: 30.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.866e-05/0.2254, allocations: 7.875 kB / 405.3 MB, free: 30.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.2256, allocations: 19.36 kB / 405.3 MB, free: 30.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.2258, allocations: 39.97 kB / 405.4 MB, free: 30.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.226, allocations: 67.77 kB / 405.5 MB, free: 30.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.2261, allocations: 38.75 kB / 405.5 MB, free: 30.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.941e-05/0.2261, allocations: 15.94 kB / 405.5 MB, free: 30.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.594e-05/0.2262, allocations: 31.78 kB / 405.5 MB, free: 30.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.2262, allocations: 0 / 405.5 MB, free: 30.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.2262, allocations: 5.25 kB / 405.5 MB, free: 30.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.199e-05/0.2263, allocations: 27.91 kB / 405.6 MB, free: 30.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.844e-05/0.2264, allocations: 69.31 kB / 405.6 MB, free: 30.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.2265, allocations: 81.94 kB / 405.7 MB, free: 30.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2265, allocations: 0 / 405.7 MB, free: 30.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.2265, allocations: 0 / 405.7 MB, free: 30.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.2265, allocations: 4 kB / 405.7 MB, free: 30.23 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.0004476/0.227, allocations: 390 kB / 406.1 MB, free: 29.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.227, allocations: 9.281 kB / 406.1 MB, free: 29.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.2271, allocations: 12.84 kB / 406.1 MB, free: 29.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.2273, allocations: 214.2 kB / 406.3 MB, free: 29.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.2273, allocations: 8.891 kB / 406.3 MB, free: 29.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.2273, allocations: 12.38 kB / 406.4 MB, free: 29.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.2277, allocations: 233.7 kB / 406.6 MB, free: 29.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2277, allocations: 192 / 406.6 MB, free: 29.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.2277, allocations: 7.938 kB / 406.6 MB, free: 29.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.2278, allocations: 4 kB / 406.6 MB, free: 29.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.853e-05/0.2278, allocations: 55.89 kB / 406.6 MB, free: 29.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.228, allocations: 189.6 kB / 406.8 MB, free: 28.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.2282, allocations: 142.9 kB / 407 MB, free: 28.83 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.2283, allocations: 92.73 kB / 407.1 MB, free: 28.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.2284, allocations: 0 / 407.1 MB, free: 28.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.2284, allocations: 38.56 kB / 407.1 MB, free: 28.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 9.41e-07/0.2284, allocations: 0 / 407.1 MB, free: 28.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003743/0.2288, allocations: 173.6 kB / 407.3 MB, free: 28.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.2288, allocations: 67.34 kB / 407.3 MB, free: 28.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.229, allocations: 167.7 kB / 407.5 MB, free: 28.26 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.229, allocations: 25.7 kB / 407.5 MB, free: 28.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.229, allocations: 92.47 kB / 407.6 MB, free: 28.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.2291, allocations: 11.98 kB / 407.6 MB, free: 28.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.2291, allocations: 8 kB / 407.6 MB, free: 28.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.136e-05/0.2291, allocations: 322.8 kB / 407.9 MB, free: 27.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.2292, allocations: 19.98 kB / 408 MB, free: 27.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.691e-05/0.2292, allocations: 117.7 kB / 408.1 MB, free: 27.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.2294, allocations: 157.5 kB / 408.2 MB, free: 27.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2294, allocations: 0 / 408.2 MB, free: 27.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001721/0.2295, allocations: 161.5 kB / 408.4 MB, free: 27.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.2296, allocations: 8 kB / 408.4 MB, free: 27.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.2296, allocations: 7.938 kB / 408.4 MB, free: 27.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.2296, allocations: 4 kB / 408.4 MB, free: 27.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.2297, allocations: 35.92 kB / 408.5 MB, free: 27.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.2298, allocations: 8 kB / 408.5 MB, free: 27.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.84e-05/0.2298, allocations: 4 kB / 408.5 MB, free: 27.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.2299, allocations: 8 kB / 408.5 MB, free: 27.16 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 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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.0001041/0.23, allocations: 149.9 kB / 408.6 MB, free: 27.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.2301, allocations: 141.3 kB / 408.8 MB, free: 26.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.2302, allocations: 21.11 kB / 408.8 MB, free: 26.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2302, allocations: 4 kB / 408.8 MB, free: 26.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2302, allocations: 0 / 408.8 MB, free: 26.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2302, allocations: 0 / 408.8 MB, free: 26.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.12e-05/0.2303, allocations: 197.5 kB / 409 MB, free: 26.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2303, allocations: 0 / 409 MB, free: 26.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.2304, allocations: 27.98 kB / 409 MB, free: 26.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2304, allocations: 4 kB / 409 MB, free: 26.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.2304, allocations: 3.938 kB / 409 MB, free: 26.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2304, allocations: 0 / 409 MB, free: 26.56 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2304, allocations: 0 / 409 MB, free: 26.56 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.2306, allocations: 168.9 kB / 409.2 MB, free: 26.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.2307, allocations: 104.9 kB / 409.3 MB, free: 26.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.2307, allocations: 11.94 kB / 409.3 MB, free: 26.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.814e-05/0.2307, allocations: 0 / 409.3 MB, free: 26.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-06/0.2307, allocations: 4 kB / 409.3 MB, free: 26.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.2307, allocations: 11.98 kB / 409.3 MB, free: 26.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.304e-05/0.2308, allocations: 113.7 kB / 409.4 MB, free: 26.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2308, allocations: 0 / 409.4 MB, free: 26.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002051/0.231, allocations: 16 kB / 409.4 MB, free: 26.1 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,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.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.0001175/0.2311, allocations: 118.1 kB / 409.5 MB, free: 25.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.2313, allocations: 107.7 kB / 409.6 MB, free: 25.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2313, allocations: 0 / 409.6 MB, free: 25.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.72e-07/0.2313, allocations: 0 / 409.6 MB, free: 25.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.2317, allocations: 100.7 kB / 409.7 MB, free: 25.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.232, allocations: 281.1 kB / 410 MB, free: 25.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.2322, allocations: 0.7241 MB / 410.7 MB, free: 24.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.299e-05/0.2323, allocations: 9.094 kB / 410.8 MB, free: 24.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.2323, allocations: 15.44 kB / 410.8 MB, free: 24.7 MB / 298.7 MB Notification: Performance of SimCode: time 1.81e-07/0.2323, allocations: 0 / 410.8 MB, free: 24.7 MB / 298.7 MB Notification: Performance of Templates: time 0.003248/0.2356, allocations: 1.07 MB / 411.8 MB, free: 23.63 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches