Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001972/0.001972, allocations: 167.5 kB / 16.8 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.4 MB / 223 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007411/0.0007411, allocations: 86.41 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07081/0.07081, allocations: 12.6 MB / 332.2 MB, free: 11.26 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003816, allocations: 12 kB / 393.2 MB, free: 65.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07492/0.07531, allocations: 50.37 MB / 443.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.275/0.3503, allocations: 78 MB / 0.5094 GB, free: 13.44 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.3506, allocations: 77.98 kB / 0.5095 GB, free: 13.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003919/0.3545, allocations: 1.681 MB / 0.5111 GB, free: 12.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3545, allocations: 4 kB / 0.5111 GB, free: 12.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.3546, allocations: 7.188 kB / 0.5111 GB, free: 12.77 MB / 330.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.0003171/0.3549, allocations: 397.3 kB / 0.5115 GB, free: 12.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3549, allocations: 11.53 kB / 0.5115 GB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.355, allocations: 12.59 kB / 0.5115 GB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.3552, allocations: 210.5 kB / 0.5117 GB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3552, allocations: 7.844 kB / 0.5117 GB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.3552, allocations: 4.219 kB / 0.5117 GB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.3556, allocations: 244.3 kB / 0.512 GB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3556, allocations: 192 / 0.512 GB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3556, allocations: 7.438 kB / 0.512 GB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3556, allocations: 0 / 0.512 GB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.427e-05/0.3557, allocations: 48.16 kB / 0.512 GB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.3559, allocations: 198.6 kB / 0.5122 GB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.3561, allocations: 144.7 kB / 0.5123 GB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.415e-05/0.3562, allocations: 81.7 kB / 0.5124 GB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.3562, allocations: 7.922 kB / 0.5124 GB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.149e-05/0.3562, allocations: 34.31 kB / 0.5125 GB, free: 11.69 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.3562, allocations: 7.906 kB / 0.5125 GB, free: 11.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002512/0.3565, allocations: 170.1 kB / 0.5126 GB, free: 11.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.3565, allocations: 63.12 kB / 0.5127 GB, free: 11.56 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3566, allocations: 166.3 kB / 0.5128 GB, free: 11.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.3566, allocations: 33.2 kB / 0.5129 GB, free: 11.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.567e-05/0.3567, allocations: 90.64 kB / 0.513 GB, free: 11.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.3567, allocations: 14.95 kB / 0.513 GB, free: 11.31 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-06/0.3567, allocations: 2.938 kB / 0.513 GB, free: 11.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.3568, allocations: 322.2 kB / 0.5133 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.741e-05/0.3568, allocations: 23.05 kB / 0.5133 GB, free: 10.99 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.984e-05/0.3569, allocations: 138.2 kB / 0.5134 GB, free: 10.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.276e-05/0.357, allocations: 151.5 kB / 0.5136 GB, free: 10.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.357, allocations: 3.875 kB / 0.5136 GB, free: 10.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001621/0.3571, allocations: 152.7 kB / 0.5137 GB, free: 10.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3572, allocations: 11.75 kB / 0.5137 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3572, allocations: 7.844 kB / 0.5138 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3572, allocations: 8.719 kB / 0.5138 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3573, allocations: 35.17 kB / 0.5138 GB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3573, allocations: 7.906 kB / 0.5138 GB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.923e-05/0.3574, allocations: 7.844 kB / 0.5138 GB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3574, allocations: 7.625 kB / 0.5138 GB, free: 10.59 MB / 330.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.02e-05/0.3575, allocations: 148.4 kB / 0.514 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.3576, allocations: 128.6 kB / 0.5141 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.109e-05/0.3577, allocations: 23.53 kB / 0.5141 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3577, allocations: 3.906 kB / 0.5141 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3577, allocations: 0.875 kB / 0.5141 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3577, allocations: 0 / 0.5141 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.588e-05/0.3578, allocations: 198.5 kB / 0.5143 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3578, allocations: 0 / 0.5143 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.857e-05/0.3579, allocations: 27.33 kB / 0.5143 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.3579, allocations: 7.766 kB / 0.5143 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.3579, allocations: 15.81 kB / 0.5143 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3579, allocations: 0 / 0.5143 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3579, allocations: 0 / 0.5143 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.3581, allocations: 161 kB / 0.5145 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.3582, allocations: 100.2 kB / 0.5146 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.3582, allocations: 11.36 kB / 0.5146 GB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.88e-05/0.3582, allocations: 3.844 kB / 0.5146 GB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-06/0.3582, allocations: 0 / 0.5146 GB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.3582, allocations: 7.344 kB / 0.5146 GB, free: 9.977 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.19e-05/0.3583, allocations: 116.6 kB / 0.5147 GB, free: 9.891 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3583, allocations: 0 / 0.5147 GB, free: 9.891 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.3585, allocations: 17.91 kB / 0.5147 GB, free: 9.891 MB / 330.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.941e-05/0.3586, allocations: 113.7 kB / 0.5149 GB, free: 9.789 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.3588, allocations: 98.62 kB / 0.5149 GB, free: 9.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3588, allocations: 0 / 0.5149 GB, free: 9.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.3588, allocations: 0 / 0.5149 GB, free: 9.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.3591, allocations: 94.03 kB / 0.515 GB, free: 9.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003039/0.3595, allocations: 273.3 kB / 0.5153 GB, free: 9.551 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.3596, allocations: 0.7189 MB / 0.516 GB, free: 8.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.038e-05/0.3596, allocations: 12.86 kB / 0.516 GB, free: 8.832 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.3597, allocations: 11.25 kB / 0.516 GB, free: 8.824 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3597, allocations: 4 kB / 0.516 GB, free: 8.82 MB / 330.7 MB Notification: Performance of Templates: time 0.002678/0.3623, allocations: 1.051 MB / 0.5171 GB, free: 8.316 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches