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.001279/0.001279, allocations: 103.1 kB / 17.59 MB, free: 5.562 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.001415/0.001415, allocations: 191.6 kB / 18.52 MB, free: 4.641 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.517/1.517, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 42.91 kB / 301.3 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1158, allocations: 49.44 MB / 350.7 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002787/0.1186, allocations: 0.8911 MB / 351.6 MB, free: 3.516 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004943/0.1191, allocations: 147.5 kB / 351.8 MB, free: 3.371 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.1193, allocations: 0 / 351.8 MB, free: 3.371 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.1194, allocations: 19.86 kB / 351.8 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.1196, allocations: 11.86 kB / 351.8 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.1199, allocations: 47.89 kB / 351.8 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.1201, allocations: 63.78 kB / 351.9 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.1202, allocations: 47.97 kB / 352 MB, free: 3.184 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.206e-05/0.1203, allocations: 27.91 kB / 352 MB, free: 3.156 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.1204, allocations: 43.78 kB / 352 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.1204, allocations: 4 kB / 352 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.053e-05/0.1205, allocations: 8 kB / 352 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.1205, allocations: 27.91 kB / 352.1 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.82e-05/0.1206, allocations: 43.69 kB / 352.1 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.1208, allocations: 91.62 kB / 352.2 MB, free: 2.941 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1208, allocations: 0 / 352.2 MB, free: 2.941 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1208, allocations: 0 / 352.2 MB, free: 2.941 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1208, allocations: 0 / 352.2 MB, free: 2.941 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.0006666/0.1215, allocations: 419.2 kB / 352.6 MB, free: 2.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1216, allocations: 8.031 kB / 352.6 MB, free: 2.473 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.1216, allocations: 16.83 kB / 352.6 MB, free: 2.457 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.1219, allocations: 211.9 kB / 352.8 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1219, allocations: 12.33 kB / 352.8 MB, free: 2.199 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.1219, allocations: 4.375 kB / 352.9 MB, free: 2.195 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.1224, allocations: 238.5 kB / 353.1 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1224, allocations: 192 / 353.1 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.1224, allocations: 3.938 kB / 353.1 MB, free: 1.949 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1224, allocations: 7.938 kB / 353.1 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.042e-05/0.1225, allocations: 47.95 kB / 353.1 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.1227, allocations: 197.5 kB / 353.3 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.123, allocations: 150.5 kB / 353.5 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.1232, allocations: 88.75 kB / 353.6 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.1232, allocations: 4 kB / 353.6 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.1232, allocations: 30.56 kB / 353.6 MB, free: 1.367 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.1232, allocations: 0 / 353.6 MB, free: 1.367 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003398/0.1236, allocations: 177.5 kB / 353.8 MB, free: 1.188 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.1237, allocations: 71.41 kB / 353.8 MB, free: 1.105 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.1238, allocations: 161.8 kB / 354 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1238, allocations: 29.7 kB / 354 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/0.1239, allocations: 92.47 kB / 354.1 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.1239, allocations: 7.984 kB / 354.1 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.124, allocations: 41.61 kB / 354.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1242, allocations: 326.8 kB / 354.5 MB, free: 440 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.96e-05/0.1242, allocations: 19.98 kB / 354.5 MB, free: 420 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.1243, allocations: 121.7 kB / 354.6 MB, free: 248 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.1245, allocations: 153.5 kB / 354.8 MB, free: 44 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1245, allocations: 0 / 354.8 MB, free: 44 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002631/0.1248, allocations: 165.2 kB / 354.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1248, allocations: 4 kB / 354.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.1248, allocations: 16.42 kB / 355 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.1248, allocations: 4 kB / 355 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.125, allocations: 35.98 kB / 355 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.125, allocations: 7.938 kB / 355 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.1251, allocations: 15.84 kB / 355 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.1251, allocations: 8 kB / 355 MB, free: 15.79 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.0001565/0.1253, allocations: 153.6 kB / 355.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.1254, allocations: 136.9 kB / 355.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.569e-05/0.1255, allocations: 25.12 kB / 355.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1255, allocations: 3.984 kB / 355.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1255, allocations: 4 kB / 355.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.1255, allocations: 3.984 kB / 355.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.1257, allocations: 185.5 kB / 355.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1257, allocations: 4 kB / 355.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.1259, allocations: 31.92 kB / 355.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1259, allocations: 0 / 355.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1259, allocations: 7.938 kB / 355.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1259, allocations: 3.938 kB / 355.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1259, allocations: 0 / 355.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.1261, allocations: 172.8 kB / 355.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-05/0.1262, allocations: 97 kB / 355.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.1263, allocations: 7.938 kB / 355.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.581e-05/0.1263, allocations: 4 kB / 355.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-06/0.1263, allocations: 0 / 355.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.1263, allocations: 4 kB / 355.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.1264, allocations: 119.2 kB / 356 MB, free: 14.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1265, allocations: 0 / 356 MB, free: 14.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1267, allocations: 20 kB / 356 MB, free: 14.72 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.0001379/0.1269, allocations: 111.7 kB / 356.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.1271, allocations: 120.5 kB / 356.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1272, allocations: 256 / 356.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.1272, allocations: 4 kB / 356.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.1276, allocations: 95.92 kB / 356.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000512/0.1281, allocations: 281 kB / 356.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.1285, allocations: 0.7277 MB / 357.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.1285, allocations: 15.44 kB / 357.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1285, allocations: 0 / 357.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of Templates: time 0.003214/0.1318, allocations: 1.355 MB / 358.7 MB, free: 11.96 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/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