Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.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.001583/0.001582, allocations: 101.6 kB / 16.5 MB, free: 6.688 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.001942/0.001942, allocations: 193.9 kB / 17.42 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 222.9 MB / 241.1 MB, free: 13.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 56.47 kB / 300 MB, free: 6.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1284, allocations: 49.45 MB / 349.4 MB, free: 4.613 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.003108/0.1316, allocations: 0.9443 MB / 350.4 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000494/0.1321, allocations: 147.5 kB / 350.5 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.1323, allocations: 0 / 350.5 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.1324, allocations: 19.86 kB / 350.5 MB, free: 3.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.1326, allocations: 11.91 kB / 350.5 MB, free: 3.488 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.1329, allocations: 42.11 kB / 350.6 MB, free: 3.449 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.1331, allocations: 67.77 kB / 350.6 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.1333, allocations: 35.98 kB / 350.7 MB, free: 3.348 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.208e-05/0.1333, allocations: 23.92 kB / 350.7 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1334, allocations: 39.78 kB / 350.7 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.1335, allocations: 7.984 kB / 350.7 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.966e-05/0.1335, allocations: 4 kB / 350.7 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.1336, allocations: 27.91 kB / 350.8 MB, free: 3.246 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.535e-05/0.1337, allocations: 47.56 kB / 350.8 MB, free: 3.199 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1338, allocations: 91.62 kB / 350.9 MB, free: 3.109 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1338, allocations: 4 kB / 350.9 MB, free: 3.105 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1338, allocations: 0 / 350.9 MB, free: 3.105 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.1339, allocations: 0 / 350.9 MB, free: 3.105 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.0007111/0.1346, allocations: 415.2 kB / 351.3 MB, free: 2.648 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.1346, allocations: 12.03 kB / 351.3 MB, free: 2.637 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/0.1347, allocations: 12.83 kB / 351.3 MB, free: 2.625 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.135, allocations: 212 kB / 351.5 MB, free: 2.379 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.135, allocations: 4.375 kB / 351.6 MB, free: 2.375 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.135, allocations: 8.375 kB / 351.6 MB, free: 2.367 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004496/0.1355, allocations: 230.5 kB / 351.8 MB, free: 2.133 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1355, allocations: 192 / 351.8 MB, free: 2.133 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.1355, allocations: 3.938 kB / 351.8 MB, free: 2.129 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1355, allocations: 0 / 351.8 MB, free: 2.129 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.146e-05/0.1356, allocations: 55.89 kB / 351.8 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.1358, allocations: 193.6 kB / 352 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.1361, allocations: 154.9 kB / 352.2 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.1362, allocations: 96.34 kB / 352.3 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.1363, allocations: 0 / 352.3 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.1363, allocations: 38.56 kB / 352.3 MB, free: 1.535 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.1363, allocations: 0 / 352.3 MB, free: 1.535 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003435/0.1366, allocations: 173.6 kB / 352.5 MB, free: 1.359 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.1367, allocations: 63.41 kB / 352.5 MB, free: 1.285 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.1369, allocations: 171.5 kB / 352.7 MB, free: 1.109 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1369, allocations: 29.7 kB / 352.7 MB, free: 1.074 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.137, allocations: 92.47 kB / 352.8 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.137, allocations: 3.984 kB / 352.8 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.1371, allocations: 49.61 kB / 352.9 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1372, allocations: 326.8 kB / 353.2 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.251e-05/0.1373, allocations: 19.98 kB / 353.2 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.1374, allocations: 117.7 kB / 353.3 MB, free: 420 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.1376, allocations: 161.5 kB / 353.5 MB, free: 208 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1376, allocations: 0 / 353.5 MB, free: 208 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002444/0.1379, allocations: 157.5 kB / 353.7 MB, free: 44 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1379, allocations: 8 kB / 353.7 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1379, allocations: 7.938 kB / 353.7 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1379, allocations: 4 kB / 353.7 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.1381, allocations: 31.97 kB / 353.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.1381, allocations: 11.94 kB / 353.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.529e-05/0.1382, allocations: 11.91 kB / 353.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.1382, allocations: 12 kB / 353.7 MB, free: 15.95 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.0001545/0.1383, allocations: 157.8 kB / 353.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.1386, allocations: 137.4 kB / 354 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.824e-05/0.1386, allocations: 25.11 kB / 354.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1386, allocations: 0 / 354.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1386, allocations: 0 / 354.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1387, allocations: 0 / 354.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.1388, allocations: 189.5 kB / 354.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1388, allocations: 0 / 354.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.1389, allocations: 31.98 kB / 354.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1389, allocations: 4 kB / 354.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.139, allocations: 3.938 kB / 354.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.139, allocations: 0 / 354.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.139, allocations: 4 kB / 354.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.1392, allocations: 171.3 kB / 354.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.703e-05/0.1393, allocations: 101 kB / 354.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.1393, allocations: 7.938 kB / 354.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.145e-05/0.1394, allocations: 0 / 354.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-06/0.1394, allocations: 8 kB / 354.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.1394, allocations: 0 / 354.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.1395, allocations: 126.7 kB / 354.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1395, allocations: 0 / 354.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1398, allocations: 16 kB / 354.7 MB, free: 14.89 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.0001327/0.1399, allocations: 107.2 kB / 354.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.1401, allocations: 107.7 kB / 354.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1401, allocations: 0 / 354.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.1401, allocations: 0 / 354.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.1406, allocations: 91.92 kB / 355 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.141, allocations: 281 kB / 355.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.1414, allocations: 0.7241 MB / 356 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.055e-05/0.1414, allocations: 13.09 kB / 356 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.1414, allocations: 11.44 kB / 356 MB, free: 13.51 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1414, allocations: 0 / 356 MB, free: 13.51 MB / 302.1 MB Notification: Performance of Templates: time 0.003654/0.1451, allocations: 1.092 MB / 357.1 MB, free: 12.43 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches