Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_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_cpp_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.002978/0.002983, allocations: 185.6 kB / 16.45 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.114/4.114, allocations: 205.4 MB / 222.6 MB, free: 13.84 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.00197/0.00197, allocations: 106.8 kB / 270.9 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1944/0.1944, allocations: 12.59 MB / 331.8 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009426/0.0009432, allocations: 13.66 kB / 392 MB, free: 54.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1459, allocations: 50.38 MB / 442.4 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001994/0.1479, allocations: 0.6049 MB / 443 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000664/0.1487, allocations: 139.6 kB / 443.1 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.1489, allocations: 4 kB / 443.1 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.149, allocations: 7.938 kB / 443.1 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.1493, allocations: 15.86 kB / 443.1 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.1497, allocations: 35.91 kB / 443.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.1499, allocations: 47.88 kB / 443.2 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.1501, allocations: 40.16 kB / 443.2 MB, free: 10.72 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.39e-05/0.1502, allocations: 11.94 kB / 443.3 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.1503, allocations: 27.84 kB / 443.3 MB, free: 10.68 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.1504, allocations: 4 kB / 443.3 MB, free: 10.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.255e-05/0.1504, allocations: 0 / 443.3 MB, free: 10.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.1505, allocations: 31.84 kB / 443.3 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.972e-05/0.1506, allocations: 45.64 kB / 443.4 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.1508, allocations: 63.83 kB / 443.4 MB, free: 10.53 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1508, allocations: 0 / 443.4 MB, free: 10.53 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1508, allocations: 0 / 443.4 MB, free: 10.53 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1508, allocations: 0 / 443.4 MB, free: 10.53 MB / 282.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.0007514/0.1516, allocations: 395.7 kB / 443.8 MB, free: 10.1 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.1517, allocations: 8.031 kB / 443.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.463e-05/0.1518, allocations: 15.81 kB / 443.8 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.1521, allocations: 202.8 kB / 444 MB, free: 9.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.1522, allocations: 15.95 kB / 444 MB, free: 9.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.1522, allocations: 8 kB / 444.1 MB, free: 9.812 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007687/0.153, allocations: 230.8 kB / 444.3 MB, free: 9.574 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.1531, allocations: 3.953 kB / 444.3 MB, free: 9.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.1531, allocations: 4 kB / 444.3 MB, free: 9.566 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1531, allocations: 4 kB / 444.3 MB, free: 9.562 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.1533, allocations: 51.91 kB / 444.3 MB, free: 9.512 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.1536, allocations: 189.6 kB / 444.5 MB, free: 9.277 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000453/0.1541, allocations: 146.9 kB / 444.7 MB, free: 9.125 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.1541, allocations: 0 / 444.7 MB, free: 9.125 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.1542, allocations: 34.56 kB / 444.7 MB, free: 9.082 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 2.655e-06/0.1542, allocations: 4 kB / 444.7 MB, free: 9.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005951/0.1548, allocations: 181.5 kB / 444.9 MB, free: 8.895 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.1549, allocations: 63.41 kB / 444.9 MB, free: 8.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.1551, allocations: 165.9 kB / 445.1 MB, free: 8.645 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1552, allocations: 29.69 kB / 445.1 MB, free: 8.609 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.1553, allocations: 158.9 kB / 445.3 MB, free: 8.449 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.1553, allocations: 11.88 kB / 445.3 MB, free: 8.438 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.1554, allocations: 8 kB / 445.3 MB, free: 8.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1555, allocations: 322.8 kB / 445.6 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-05/0.1556, allocations: 23.92 kB / 445.7 MB, free: 8.082 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.1558, allocations: 121.6 kB / 445.8 MB, free: 7.914 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.156, allocations: 39.92 kB / 445.8 MB, free: 7.875 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.156, allocations: 0 / 445.8 MB, free: 7.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000424/0.1564, allocations: 153.5 kB / 446 MB, free: 7.719 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.1565, allocations: 6.969 kB / 446 MB, free: 7.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.1565, allocations: 7.984 kB / 446 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-05/0.1566, allocations: 8 kB / 446 MB, free: 7.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.1569, allocations: 31.94 kB / 446 MB, free: 7.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-05/0.1569, allocations: 15.88 kB / 446 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.1571, allocations: 11.91 kB / 446 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.1572, allocations: 12.34 kB / 446.1 MB, free: 7.629 MB / 282.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 0.0002297/0.1574, allocations: 141.8 kB / 446.2 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004029/0.1578, allocations: 133.4 kB / 446.3 MB, free: 7.344 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.978e-05/0.1579, allocations: 21.19 kB / 446.3 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.1579, allocations: 4 kB / 446.3 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.158, allocations: 0 / 446.3 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.158, allocations: 3.953 kB / 446.4 MB, free: 7.316 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.1582, allocations: 193.5 kB / 446.5 MB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1582, allocations: 4 kB / 446.5 MB, free: 7.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.1585, allocations: 27.98 kB / 446.6 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.1586, allocations: 0 / 446.6 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.1586, allocations: 8 kB / 446.6 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.1586, allocations: 0 / 446.6 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.1587, allocations: 11.86 kB / 446.6 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.1591, allocations: 164.8 kB / 446.8 MB, free: 6.848 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.1593, allocations: 105 kB / 446.9 MB, free: 6.727 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-05/0.1594, allocations: 0 / 446.9 MB, free: 6.727 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1595, allocations: 12 kB / 446.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-06/0.1596, allocations: 0 / 446.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.1596, allocations: 0 / 446.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001457/0.1597, allocations: 119.2 kB / 447 MB, free: 6.598 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.1598, allocations: 0 / 447 MB, free: 6.598 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000607/0.1604, allocations: 16 kB / 447 MB, free: 6.582 MB / 282.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 0.0001887/0.1606, allocations: 107.2 kB / 447.1 MB, free: 6.465 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004008/0.161, allocations: 99.78 kB / 447.2 MB, free: 6.367 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.1611, allocations: 0 / 447.2 MB, free: 6.367 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.1611, allocations: 0 / 447.2 MB, free: 6.367 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007/0.1618, allocations: 102.1 kB / 447.3 MB, free: 6.273 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007849/0.1626, allocations: 302.7 kB / 447.6 MB, free: 5.945 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.1629, allocations: 0.7204 MB / 448.3 MB, free: 5.199 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.059e-05/0.163, allocations: 11.44 kB / 448.3 MB, free: 5.188 MB / 282.7 MB Notification: Performance of SimCode: time 1.423e-06/0.163, allocations: 4 kB / 448.3 MB, free: 5.184 MB / 282.7 MB Notification: Performance of Templates: time 0.00989/0.1729, allocations: 1.328 MB / 449.7 MB, free: 3.859 MB / 282.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches