Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_cpp_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_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009512/0.0009512, allocations: 193.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 226.6 MB / 244.3 MB, free: 8.305 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008238/0.0008236, allocations: 98.81 kB / 296.4 MB, free: 7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002183/0.0002183, allocations: 8 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2172, allocations: 51.29 MB / 407.5 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.0009181/0.2182, allocations: 0.5851 MB / 408.1 MB, free: 27.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002765/0.2185, allocations: 147.6 kB / 408.2 MB, free: 27.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.263e-05/0.2186, allocations: 4 kB / 408.2 MB, free: 27.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.723e-05/0.2187, allocations: 7.922 kB / 408.2 MB, free: 27.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.2188, allocations: 20.41 kB / 408.3 MB, free: 27.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.219, allocations: 29.33 kB / 408.3 MB, free: 27.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.368e-05/0.2191, allocations: 59.83 kB / 408.3 MB, free: 27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.2192, allocations: 43.61 kB / 408.4 MB, free: 26.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.619e-05/0.2192, allocations: 19.86 kB / 408.4 MB, free: 26.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.884e-05/0.2193, allocations: 27.86 kB / 408.4 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.2193, allocations: 0 / 408.4 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.2193, allocations: 4 kB / 408.4 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.37e-05/0.2193, allocations: 20.55 kB / 408.5 MB, free: 26.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.2194, allocations: 54.19 kB / 408.5 MB, free: 26.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.889e-05/0.2195, allocations: 59.88 kB / 408.6 MB, free: 26.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2195, allocations: 4.625 kB / 408.6 MB, free: 26.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2195, allocations: 0 / 408.6 MB, free: 26.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.2195, allocations: 2.344 kB / 408.6 MB, free: 26.77 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.0003331/0.2198, allocations: 387.9 kB / 409 MB, free: 26.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.2199, allocations: 12.03 kB / 409 MB, free: 26.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.2199, allocations: 7.906 kB / 409 MB, free: 26.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.22, allocations: 212.4 kB / 409.2 MB, free: 26.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.2201, allocations: 12.8 kB / 409.2 MB, free: 26.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.2201, allocations: 12 kB / 409.2 MB, free: 26.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.2204, allocations: 237 kB / 409.4 MB, free: 25.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.2204, allocations: 0 / 409.4 MB, free: 25.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.2204, allocations: 7.953 kB / 409.4 MB, free: 25.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2204, allocations: 0 / 409.4 MB, free: 25.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.77e-05/0.2205, allocations: 51.91 kB / 409.5 MB, free: 25.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001009/0.2206, allocations: 189.6 kB / 409.7 MB, free: 25.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.2208, allocations: 146.9 kB / 409.8 MB, free: 25.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.124e-05/0.2209, allocations: 89.73 kB / 409.9 MB, free: 25.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.2209, allocations: 0 / 409.9 MB, free: 25.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.221, allocations: 38.56 kB / 410 MB, free: 25.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.001e-06/0.221, allocations: 0 / 410 MB, free: 25.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002257/0.2212, allocations: 172.5 kB / 410.1 MB, free: 25.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.2212, allocations: 63.36 kB / 410.2 MB, free: 24.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.927e-05/0.2213, allocations: 162 kB / 410.3 MB, free: 24.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.2213, allocations: 33.64 kB / 410.4 MB, free: 24.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.448e-05/0.2214, allocations: 92.47 kB / 410.5 MB, free: 24.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.2214, allocations: 11.98 kB / 410.5 MB, free: 24.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-06/0.2214, allocations: 4 kB / 410.5 MB, free: 24.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.833e-05/0.2214, allocations: 330.8 kB / 410.8 MB, free: 24.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.716e-05/0.2215, allocations: 16 kB / 410.8 MB, free: 24.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.602e-05/0.2215, allocations: 124.3 kB / 410.9 MB, free: 24.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.969e-05/0.2216, allocations: 47.86 kB / 411 MB, free: 24.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2216, allocations: 4 kB / 411 MB, free: 24.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001606/0.2218, allocations: 157.4 kB / 411.1 MB, free: 23.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.2218, allocations: 8 kB / 411.2 MB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2218, allocations: 4 kB / 411.2 MB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2218, allocations: 4 kB / 411.2 MB, free: 23.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.2219, allocations: 43.92 kB / 411.2 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.2219, allocations: 15.88 kB / 411.2 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.222, allocations: 7.984 kB / 411.2 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.222, allocations: 8 kB / 411.2 MB, free: 23.85 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.863e-05/0.2221, allocations: 150 kB / 411.4 MB, free: 23.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.2222, allocations: 129.5 kB / 411.5 MB, free: 23.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.2223, allocations: 21.17 kB / 411.5 MB, free: 23.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2223, allocations: 0 / 411.5 MB, free: 23.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2223, allocations: 0 / 411.5 MB, free: 23.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2223, allocations: 3.953 kB / 411.5 MB, free: 23.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.442e-05/0.2224, allocations: 197.5 kB / 411.7 MB, free: 23.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2224, allocations: 0 / 411.7 MB, free: 23.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.2225, allocations: 31.98 kB / 411.8 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2225, allocations: 3.984 kB / 411.8 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.2225, allocations: 3.984 kB / 411.8 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2225, allocations: 7.938 kB / 411.8 MB, free: 23.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2225, allocations: 0 / 411.8 MB, free: 23.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.2226, allocations: 163.7 kB / 411.9 MB, free: 23.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.2227, allocations: 100.9 kB / 412 MB, free: 22.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.2227, allocations: 11.94 kB / 412 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.01e-05/0.2228, allocations: 7.984 kB / 412 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-06/0.2228, allocations: 0 / 412 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.2228, allocations: 8 kB / 412.1 MB, free: 22.92 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5e-05/0.2228, allocations: 115.1 kB / 412.2 MB, free: 22.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2228, allocations: 0 / 412.2 MB, free: 22.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001948/0.223, allocations: 20 kB / 412.2 MB, free: 22.79 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 (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 7.97e-05/0.2231, allocations: 111.1 kB / 412.3 MB, free: 22.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.2233, allocations: 99.83 kB / 412.4 MB, free: 22.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2233, allocations: 0 / 412.4 MB, free: 22.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2233, allocations: 0 / 412.4 MB, free: 22.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.2236, allocations: 103.1 kB / 412.5 MB, free: 22.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.2239, allocations: 298.8 kB / 412.8 MB, free: 22.15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.224, allocations: 0.7165 MB / 413.5 MB, free: 21.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.2241, allocations: 19.38 kB / 413.5 MB, free: 21.39 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2241, allocations: 4 kB / 413.5 MB, free: 21.38 MB / 298.7 MB Notification: Performance of Templates: time 0.002146/0.2262, allocations: 1.326 MB / 414.8 MB, free: 20.06 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches