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.001588/0.001588, allocations: 198.4 kB / 17.38 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 226.5 MB / 244.7 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009534/0.0009534, allocations: 91.12 kB / 296.8 MB, free: 6.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.0002991, allocations: 4 kB / 356.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2581, allocations: 51.3 MB / 408 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001162/0.2593, allocations: 0.6046 MB / 408.7 MB, free: 27.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003301/0.2597, allocations: 132.2 kB / 408.8 MB, free: 27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.641e-05/0.2598, allocations: 0.625 kB / 408.8 MB, free: 27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.2599, allocations: 11.92 kB / 408.8 MB, free: 26.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.26, allocations: 14.02 kB / 408.8 MB, free: 26.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.2603, allocations: 39.91 kB / 408.8 MB, free: 26.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.2604, allocations: 59.84 kB / 408.9 MB, free: 26.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.2605, allocations: 39.36 kB / 408.9 MB, free: 26.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.583e-05/0.2606, allocations: 19.88 kB / 409 MB, free: 26.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.502e-05/0.2606, allocations: 32.34 kB / 409 MB, free: 26.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.2607, allocations: 0.5312 kB / 409 MB, free: 26.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.652e-05/0.2607, allocations: 4 kB / 409 MB, free: 26.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.2607, allocations: 20.64 kB / 409 MB, free: 26.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.2608, allocations: 58.95 kB / 409.1 MB, free: 26.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.441e-05/0.2609, allocations: 67.8 kB / 409.1 MB, free: 26.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.2609, allocations: 0 / 409.1 MB, free: 26.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2609, allocations: 0 / 409.1 MB, free: 26.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.2609, allocations: 3.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.0004078/0.2613, allocations: 391.7 kB / 409.5 MB, free: 26.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2614, allocations: 8.031 kB / 409.5 MB, free: 26.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.2614, allocations: 12.84 kB / 409.5 MB, free: 26.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.2616, allocations: 213.6 kB / 409.8 MB, free: 25.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.2616, allocations: 8.375 kB / 409.8 MB, free: 25.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.2617, allocations: 12.31 kB / 409.8 MB, free: 25.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.2621, allocations: 249.5 kB / 410 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2621, allocations: 192 / 410 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.2621, allocations: 3.938 kB / 410 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2621, allocations: 4 kB / 410 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.624e-05/0.2622, allocations: 47.97 kB / 410.1 MB, free: 25.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.2623, allocations: 189.6 kB / 410.3 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.2626, allocations: 149.3 kB / 410.4 MB, free: 25.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.2627, allocations: 84.77 kB / 410.5 MB, free: 25.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.2627, allocations: 7.984 kB / 410.5 MB, free: 25.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.2627, allocations: 34.56 kB / 410.5 MB, free: 25.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.2627, allocations: 0 / 410.5 MB, free: 25.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002835/0.263, allocations: 173.7 kB / 410.7 MB, free: 24.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.2631, allocations: 63.91 kB / 410.8 MB, free: 24.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.2632, allocations: 162 kB / 410.9 MB, free: 24.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.2632, allocations: 33.64 kB / 411 MB, free: 24.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.2632, allocations: 92.45 kB / 411 MB, free: 24.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.2633, allocations: 15.92 kB / 411.1 MB, free: 24.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/0.2633, allocations: 3.938 kB / 411.1 MB, free: 24.51 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.984e-05/0.2633, allocations: 322.8 kB / 411.4 MB, free: 24.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.2634, allocations: 23.98 kB / 411.4 MB, free: 24.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.162e-05/0.2634, allocations: 120.4 kB / 411.5 MB, free: 24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.2635, allocations: 157.5 kB / 411.7 MB, free: 23.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2636, allocations: 0 / 411.7 MB, free: 23.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001719/0.2637, allocations: 161.5 kB / 411.8 MB, free: 23.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2638, allocations: 12.09 kB / 411.8 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2638, allocations: 7.938 kB / 411.9 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.2638, allocations: 4 kB / 411.9 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.2639, allocations: 31.92 kB / 411.9 MB, free: 23.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2639, allocations: 4 kB / 411.9 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.264, allocations: 12 kB / 411.9 MB, free: 23.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.264, allocations: 8 kB / 411.9 MB, free: 23.55 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 9.129e-05/0.2641, allocations: 153.7 kB / 412.1 MB, free: 23.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.2642, allocations: 130.2 kB / 412.2 MB, free: 23.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.205e-05/0.2643, allocations: 21.12 kB / 412.2 MB, free: 23.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2643, allocations: 7.938 kB / 412.2 MB, free: 23.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2643, allocations: 0 / 412.2 MB, free: 23.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.2643, allocations: 0 / 412.2 MB, free: 23.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.871e-05/0.2644, allocations: 197.5 kB / 412.4 MB, free: 22.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2644, allocations: 4 kB / 412.4 MB, free: 22.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.2646, allocations: 23.98 kB / 412.4 MB, free: 22.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.2646, allocations: 4 kB / 412.4 MB, free: 22.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2646, allocations: 11.94 kB / 412.5 MB, free: 22.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2646, allocations: 0 / 412.5 MB, free: 22.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2646, allocations: 0 / 412.5 MB, free: 22.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.2647, allocations: 168 kB / 412.6 MB, free: 22.76 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.2648, allocations: 108.8 kB / 412.7 MB, free: 22.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.2648, allocations: 3.938 kB / 412.7 MB, free: 22.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.995e-05/0.2649, allocations: 8 kB / 412.7 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-06/0.2649, allocations: 0 / 412.7 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.2649, allocations: 4 kB / 412.7 MB, free: 22.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.559e-05/0.2649, allocations: 123.1 kB / 412.9 MB, free: 22.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.265, allocations: 0 / 412.9 MB, free: 22.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002138/0.2652, allocations: 16 kB / 412.9 MB, free: 22.48 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 9.045e-05/0.2653, allocations: 115.2 kB / 413 MB, free: 22.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.2654, allocations: 100.2 kB / 413.1 MB, free: 22.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2654, allocations: 0 / 413.1 MB, free: 22.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.92e-07/0.2655, allocations: 3.938 kB / 413.1 MB, free: 22.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.2658, allocations: 95.19 kB / 413.2 MB, free: 22.17 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.2662, allocations: 298.4 kB / 413.5 MB, free: 21.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.2663, allocations: 0.7204 MB / 414.2 MB, free: 21.1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.2663, allocations: 15.44 kB / 414.2 MB, free: 21.09 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2663, allocations: 0 / 414.2 MB, free: 21.09 MB / 298.7 MB Notification: Performance of Templates: time 0.00228/0.2686, allocations: 1.334 MB / 415.5 MB, free: 19.76 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