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.001432/0.001433, allocations: 92.62 kB / 16.65 MB, free: 6.262 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.002317/0.002317, allocations: 180.5 kB / 17.57 MB, free: 5.875 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.656/1.656, allocations: 223.3 MB / 241.6 MB, free: 14.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002807/0.0002807, allocations: 8 kB / 301.4 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1154, allocations: 50.42 MB / 351.8 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001439/0.1169, allocations: 0.6085 MB / 352.4 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003927/0.1173, allocations: 147.5 kB / 352.6 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.226e-05/0.1174, allocations: 11.94 kB / 352.6 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.1175, allocations: 7.938 kB / 352.6 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.1176, allocations: 11.92 kB / 352.6 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.1179, allocations: 35.97 kB / 352.7 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.118, allocations: 67.77 kB / 352.7 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.1182, allocations: 39.98 kB / 352.8 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.193e-05/0.1182, allocations: 19.88 kB / 352.8 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1184, allocations: 35.77 kB / 352.8 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.1184, allocations: 4 kB / 352.8 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.657e-05/0.1184, allocations: 0 / 352.8 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.8e-05/0.1185, allocations: 19.92 kB / 352.8 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.014e-05/0.1186, allocations: 61.39 kB / 352.9 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.1188, allocations: 91.61 kB / 353 MB, free: 2.277 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.1188, allocations: 0 / 353 MB, free: 2.277 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.1188, allocations: 0 / 353 MB, free: 2.277 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1188, allocations: 0 / 353 MB, free: 2.277 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.0007056/0.1195, allocations: 395.2 kB / 353.4 MB, free: 1.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.1196, allocations: 12.03 kB / 353.4 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.1196, allocations: 12.75 kB / 353.4 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.12, allocations: 216 kB / 353.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.12, allocations: 4.375 kB / 353.6 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.12, allocations: 16.38 kB / 353.6 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.1206, allocations: 222.5 kB / 353.9 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1206, allocations: 192 / 353.9 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.1206, allocations: 7.938 kB / 353.9 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1206, allocations: 0 / 353.9 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.984e-05/0.1207, allocations: 55.91 kB / 353.9 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000261/0.121, allocations: 193.5 kB / 354.1 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.1213, allocations: 150.9 kB / 354.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.1214, allocations: 84.81 kB / 354.3 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.1214, allocations: 0 / 354.3 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1215, allocations: 38.56 kB / 354.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.1215, allocations: 0 / 354.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003354/0.1218, allocations: 177.6 kB / 354.5 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.1219, allocations: 66.44 kB / 354.6 MB, free: 488 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1221, allocations: 166.1 kB / 354.8 MB, free: 312 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1221, allocations: 29.64 kB / 354.8 MB, free: 276 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.1222, allocations: 92.47 kB / 354.9 MB, free: 176 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.1222, allocations: 11.98 kB / 354.9 MB, free: 164 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.1223, allocations: 29.7 kB / 354.9 MB, free: 128 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1224, allocations: 322.8 kB / 355.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.776e-05/0.1225, allocations: 19.98 kB / 355.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.1226, allocations: 120.1 kB / 355.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.1228, allocations: 157.5 kB / 355.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1228, allocations: 0 / 355.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002202/0.123, allocations: 165.4 kB / 355.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.123, allocations: 8 kB / 355.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.123, allocations: 7.938 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.1231, allocations: 4 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.1232, allocations: 35.92 kB / 355.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1232, allocations: 4 kB / 355.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.1233, allocations: 15.84 kB / 355.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.1233, allocations: 8 kB / 355.8 MB, free: 15.16 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.0001525/0.1235, allocations: 153.9 kB / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.1237, allocations: 137.4 kB / 356.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/0.1237, allocations: 21.12 kB / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.1238, allocations: 0 / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.1238, allocations: 4 kB / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1238, allocations: 3.984 kB / 356.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.124, allocations: 189.5 kB / 356.3 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.124, allocations: 4 kB / 356.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.1241, allocations: 31.98 kB / 356.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1241, allocations: 0 / 356.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.1241, allocations: 7.938 kB / 356.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1241, allocations: 0 / 356.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1241, allocations: 0 / 356.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.1244, allocations: 168.9 kB / 356.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.62e-05/0.1245, allocations: 100.9 kB / 356.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.1245, allocations: 7.938 kB / 356.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.199e-05/0.1245, allocations: 8 kB / 356.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-06/0.1245, allocations: 0 / 356.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1246, allocations: 8 kB / 356.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.095e-05/0.1247, allocations: 113.5 kB / 356.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1247, allocations: 0 / 356.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.1249, allocations: 16 kB / 356.7 MB, free: 14.11 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.0001692/0.1251, allocations: 111.2 kB / 356.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.1253, allocations: 107.7 kB / 356.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.1253, allocations: 0 / 356.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/0.1253, allocations: 7.938 kB / 357 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.1258, allocations: 94.55 kB / 357 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.1264, allocations: 285.1 kB / 357.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.1268, allocations: 0.7241 MB / 358.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.558e-05/0.1268, allocations: 13.08 kB / 358.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.1269, allocations: 11.44 kB / 358.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1269, allocations: 0 / 358.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of Templates: time 0.004221/0.1311, allocations: 1.063 MB / 359.1 MB, free: 11.65 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