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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008252/0.008252, allocations: 89 kB / 15.91 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 198.2 kB / 16.83 MB, free: 6.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.1 MB / 222.7 MB, free: 4.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09696/0.09696, allocations: 12.59 MB / 282.6 MB, free: 8.77 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 80.55 kB / 342.8 MB, free: 21.19 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.146, allocations: 49.4 MB / 392.2 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.003053/0.1491, allocations: 0.9646 MB / 393.2 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005296/0.1497, allocations: 135.6 kB / 393.3 MB, free: 2.609 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.1499, allocations: 3.938 kB / 393.3 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.15, allocations: 11.92 kB / 393.3 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.1503, allocations: 15.92 kB / 393.3 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.1506, allocations: 39.97 kB / 393.4 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.1508, allocations: 59.78 kB / 393.4 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/0.1511, allocations: 47.97 kB / 393.5 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.846e-05/0.1511, allocations: 31.86 kB / 393.5 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.1513, allocations: 35.78 kB / 393.5 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.1513, allocations: 4 kB / 393.5 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.649e-05/0.1514, allocations: 4 kB / 393.5 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1515, allocations: 31.91 kB / 393.6 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.083e-05/0.1516, allocations: 39.69 kB / 393.6 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.1518, allocations: 83.64 kB / 393.7 MB, free: 2.207 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1518, allocations: 0 / 393.7 MB, free: 2.207 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1518, allocations: 4 kB / 393.7 MB, free: 2.203 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.1518, allocations: 0 / 393.7 MB, free: 2.203 MB / 286.1 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.0007292/0.1525, allocations: 419.2 kB / 394.1 MB, free: 1.742 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.1526, allocations: 12.03 kB / 394.1 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.1527, allocations: 16.75 kB / 394.1 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.153, allocations: 208 kB / 394.3 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.153, allocations: 4.312 kB / 394.3 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.153, allocations: 12.38 kB / 394.3 MB, free: 1.457 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.1535, allocations: 243.4 kB / 394.6 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1535, allocations: 192 / 394.6 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.1535, allocations: 7.938 kB / 394.6 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1535, allocations: 3.938 kB / 394.6 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.568e-05/0.1536, allocations: 51.91 kB / 394.6 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/0.1538, allocations: 197.5 kB / 394.8 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.1541, allocations: 150.9 kB / 395 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.1543, allocations: 84.77 kB / 395.1 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.1543, allocations: 0 / 395.1 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1543, allocations: 42.56 kB / 395.1 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 9.72e-07/0.1543, allocations: 0 / 395.1 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003507/0.1547, allocations: 173.7 kB / 395.3 MB, free: 444 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.1548, allocations: 63.34 kB / 395.3 MB, free: 368 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.155, allocations: 169.9 kB / 395.5 MB, free: 188 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.155, allocations: 25.7 kB / 395.5 MB, free: 156 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.155, allocations: 96.45 kB / 395.6 MB, free: 56 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.1551, allocations: 4 kB / 395.6 MB, free: 52 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-05/0.1552, allocations: 49.69 kB / 395.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1553, allocations: 322.8 kB / 396 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.061e-05/0.1553, allocations: 19.98 kB / 396 MB, free: 15.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.1555, allocations: 124.8 kB / 396.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.1556, allocations: 161.5 kB / 396.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1557, allocations: 0 / 396.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002148/0.1559, allocations: 153.7 kB / 396.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1559, allocations: 8 kB / 396.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.1559, allocations: 11.94 kB / 396.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.1559, allocations: 4 kB / 396.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1561, allocations: 35.92 kB / 396.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/0.1561, allocations: 15.92 kB / 396.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.1562, allocations: 15.78 kB / 396.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.1562, allocations: 12 kB / 396.5 MB, free: 15.02 MB / 302.1 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,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,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.000166/0.1564, allocations: 137.9 kB / 396.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.1566, allocations: 137.4 kB / 396.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.896e-05/0.1566, allocations: 29.11 kB / 396.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1566, allocations: 0 / 396.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1566, allocations: 0 / 396.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1567, allocations: 0 / 396.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.1568, allocations: 189.6 kB / 397 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1568, allocations: 0 / 397 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.1569, allocations: 27.98 kB / 397.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.157, allocations: 3.984 kB / 397.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.157, allocations: 11.94 kB / 397.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.157, allocations: 0 / 397.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.157, allocations: 4 kB / 397.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.1572, allocations: 165.5 kB / 397.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.943e-05/0.1573, allocations: 108.8 kB / 397.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1573, allocations: 3.938 kB / 397.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.322e-05/0.1574, allocations: 7.984 kB / 397.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-06/0.1574, allocations: 4 kB / 397.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.1574, allocations: 4 kB / 397.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.785e-05/0.1575, allocations: 119.2 kB / 397.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1575, allocations: 0 / 397.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.1577, allocations: 16 kB / 397.5 MB, free: 13.96 MB / 302.1 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.0001296/0.1579, allocations: 107.8 kB / 397.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.1581, allocations: 100.1 kB / 397.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.1581, allocations: 0 / 397.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.1581, allocations: 3.938 kB / 397.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.1585, allocations: 101.4 kB / 397.8 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005071/0.159, allocations: 284.8 kB / 398.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.1594, allocations: 0.7165 MB / 398.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.636e-05/0.1594, allocations: 5.094 kB / 398.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.1595, allocations: 23.42 kB / 398.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1595, allocations: 0 / 398.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of Templates: time 0.003793/0.1633, allocations: 1.082 MB / 399.9 MB, free: 11.49 MB / 302.1 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/jenkins/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