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.0009983/0.0009983, allocations: 104 kB / 16.92 MB, free: 5.793 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.001042/0.001042, allocations: 191.3 kB / 17.85 MB, free: 5.188 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.498/1.498, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001113, allocations: 48.09 kB / 300.6 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1188, allocations: 49.45 MB / 350 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002982/0.1218, allocations: 0.8984 MB / 350.9 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005192/0.1224, allocations: 147.5 kB / 351.1 MB, free: 3.379 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1226, allocations: 7.938 kB / 351.1 MB, free: 3.371 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.1227, allocations: 11.86 kB / 351.1 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.1229, allocations: 19.86 kB / 351.1 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.1232, allocations: 41.45 kB / 351.2 MB, free: 3.301 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.1234, allocations: 63.78 kB / 351.2 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.1236, allocations: 39.98 kB / 351.3 MB, free: 3.199 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.745e-05/0.1236, allocations: 31.91 kB / 351.3 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.1237, allocations: 39.78 kB / 351.3 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.1238, allocations: 8 kB / 351.3 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.021e-05/0.1238, allocations: 7.938 kB / 351.4 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.598e-05/0.1239, allocations: 31.91 kB / 351.4 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.787e-05/0.124, allocations: 39.69 kB / 351.4 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.1242, allocations: 91.62 kB / 351.5 MB, free: 2.953 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1242, allocations: 0 / 351.5 MB, free: 2.953 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.619e-06/0.1242, allocations: 4 kB / 351.5 MB, free: 2.949 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.1242, allocations: 0 / 351.5 MB, free: 2.949 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.0007436/0.125, allocations: 415.2 kB / 351.9 MB, free: 2.492 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.125, allocations: 8.031 kB / 351.9 MB, free: 2.484 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.1251, allocations: 12.84 kB / 351.9 MB, free: 2.473 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.1254, allocations: 219.9 kB / 352.2 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.1254, allocations: 8.328 kB / 352.2 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.1255, allocations: 12.38 kB / 352.2 MB, free: 2.199 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000491/0.1259, allocations: 226.2 kB / 352.4 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.126, allocations: 4.188 kB / 352.4 MB, free: 1.965 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.126, allocations: 7.938 kB / 352.4 MB, free: 1.957 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.126, allocations: 0 / 352.4 MB, free: 1.957 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.1261, allocations: 55.84 kB / 352.5 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.1264, allocations: 193.5 kB / 352.7 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.1267, allocations: 147 kB / 352.8 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.1269, allocations: 92.8 kB / 352.9 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.1269, allocations: 0 / 352.9 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.1269, allocations: 38.56 kB / 352.9 MB, free: 1.371 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 9.31e-07/0.1269, allocations: 4 kB / 352.9 MB, free: 1.367 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003539/0.1273, allocations: 173.6 kB / 353.1 MB, free: 1.191 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.1274, allocations: 67.34 kB / 353.2 MB, free: 1.113 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.1275, allocations: 163.8 kB / 353.3 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1275, allocations: 29.7 kB / 353.4 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.1276, allocations: 88.47 kB / 353.4 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.1276, allocations: 11.98 kB / 353.5 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.1277, allocations: 45.61 kB / 353.5 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1278, allocations: 318.8 kB / 353.8 MB, free: 448 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.089e-05/0.1279, allocations: 27.98 kB / 353.8 MB, free: 420 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.661e-05/0.128, allocations: 113.7 kB / 353.9 MB, free: 256 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.1281, allocations: 157.5 kB / 354.1 MB, free: 48 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1281, allocations: 4 kB / 354.1 MB, free: 44 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002227/0.1284, allocations: 153.2 kB / 354.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1284, allocations: 11.62 kB / 354.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.1284, allocations: 7.938 kB / 354.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.1284, allocations: 8 kB / 354.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1286, allocations: 35.92 kB / 354.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.1286, allocations: 4 kB / 354.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.85e-05/0.1287, allocations: 15.84 kB / 354.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.1287, allocations: 12 kB / 354.3 MB, free: 15.8 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.0001302/0.1288, allocations: 150.1 kB / 354.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.129, allocations: 140.5 kB / 354.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.129, allocations: 25.12 kB / 354.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1291, allocations: 4 kB / 354.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1291, allocations: 0 / 354.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1291, allocations: 3.984 kB / 354.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.1292, allocations: 189.5 kB / 354.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1292, allocations: 0 / 354.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.1293, allocations: 27.98 kB / 354.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1293, allocations: 0 / 354.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.1293, allocations: 7.938 kB / 354.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1294, allocations: 0 / 354.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1294, allocations: 7.938 kB / 354.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.1296, allocations: 172.8 kB / 355.1 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.1297, allocations: 97 kB / 355.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.1297, allocations: 7.938 kB / 355.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.101e-05/0.1297, allocations: 4 kB / 355.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-06/0.1297, allocations: 0 / 355.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.1297, allocations: 4 kB / 355.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.34e-05/0.1298, allocations: 122.9 kB / 355.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1298, allocations: 4 kB / 355.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.1301, allocations: 16 kB / 355.3 MB, free: 14.73 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.0001431/0.1302, allocations: 107.8 kB / 355.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.1305, allocations: 120.6 kB / 355.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1305, allocations: 4.125 kB / 355.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.1305, allocations: 0 / 355.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.1309, allocations: 102.7 kB / 355.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.1314, allocations: 246.3 kB / 355.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.1318, allocations: 0.7278 MB / 356.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.011e-05/0.1319, allocations: 9.031 kB / 356.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.1319, allocations: 15.44 kB / 356.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1319, allocations: 0 / 356.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of Templates: time 0.003878/0.1358, allocations: 1.159 MB / 357.8 MB, free: 12.21 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