Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.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.BooleanSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 90.27 kB / 16.32 MB, free: 6.449 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.001466/0.001466, allocations: 181.4 kB / 17.21 MB, free: 6.32 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.587/1.587, allocations: 223.3 MB / 241.2 MB, free: 276 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.000328, allocations: 9.969 kB / 300.8 MB, free: 6.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1275, allocations: 50.42 MB / 351.2 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001407/0.129, allocations: 0.5977 MB / 351.8 MB, free: 3.395 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004019/0.1294, allocations: 143.5 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.1295, allocations: 4 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.925e-05/0.1296, allocations: 3.938 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.234e-05/0.1297, allocations: 7.922 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.13, allocations: 39.91 kB / 352 MB, free: 3.199 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.1302, allocations: 55.89 kB / 352.1 MB, free: 3.145 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1303, allocations: 40.33 kB / 352.1 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.545e-05/0.1304, allocations: 19.86 kB / 352.2 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.643e-05/0.1304, allocations: 27.8 kB / 352.2 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.1305, allocations: 0 / 352.2 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.488e-05/0.1305, allocations: 4 kB / 352.2 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.75e-05/0.1306, allocations: 15.92 kB / 352.2 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.1306, allocations: 37.64 kB / 352.2 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.1307, allocations: 55.88 kB / 352.3 MB, free: 2.938 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1308, allocations: 0 / 352.3 MB, free: 2.938 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1308, allocations: 8 kB / 352.3 MB, free: 2.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.1308, allocations: 0 / 352.3 MB, free: 2.93 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.0004632/0.1312, allocations: 375.3 kB / 352.7 MB, free: 2.516 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1313, allocations: 8.031 kB / 352.7 MB, free: 2.508 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.075e-05/0.1314, allocations: 15.77 kB / 352.7 MB, free: 2.492 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.1316, allocations: 194.8 kB / 352.9 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1317, allocations: 8 kB / 352.9 MB, free: 2.254 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.1317, allocations: 8 kB / 352.9 MB, free: 2.246 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/0.1321, allocations: 217.8 kB / 353.1 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1322, allocations: 0 / 353.1 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1322, allocations: 3.938 kB / 353.1 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.1322, allocations: 3.938 kB / 353.1 MB, free: 2.016 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.356e-05/0.1323, allocations: 35.98 kB / 353.1 MB, free: 1.98 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.1325, allocations: 193.5 kB / 353.3 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.1327, allocations: 123 kB / 353.5 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.1329, allocations: 91.89 kB / 353.5 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.1329, allocations: 0 / 353.5 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.1329, allocations: 34.56 kB / 353.6 MB, free: 1.48 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.1329, allocations: 4 kB / 353.6 MB, free: 1.477 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003032/0.1332, allocations: 153.4 kB / 353.7 MB, free: 1.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.1333, allocations: 67.34 kB / 353.8 MB, free: 1.242 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.1334, allocations: 140.8 kB / 353.9 MB, free: 1.098 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.1335, allocations: 29.7 kB / 354 MB, free: 1.062 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.1335, allocations: 88.47 kB / 354.1 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.1336, allocations: 11.89 kB / 354.1 MB, free: 0.957 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.1336, allocations: 4 kB / 354.1 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1337, allocations: 326.8 kB / 354.4 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/0.1338, allocations: 16 kB / 354.4 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.1339, allocations: 121.7 kB / 354.5 MB, free: 452 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.585e-05/0.134, allocations: 39.94 kB / 354.6 MB, free: 412 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.134, allocations: 3.938 kB / 354.6 MB, free: 408 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002674/0.1343, allocations: 149.6 kB / 354.7 MB, free: 252 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.1343, allocations: 11.94 kB / 354.7 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.1343, allocations: 4 kB / 354.7 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.1343, allocations: 4 kB / 354.7 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.569e-05/0.1344, allocations: 7.984 kB / 354.7 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.1344, allocations: 11.94 kB / 354.8 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.5e-05/0.1345, allocations: 19.91 kB / 354.8 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.1345, allocations: 8 kB / 354.8 MB, free: 184 kB / 286.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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,unitDelay1.u,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002376/0.1347, allocations: 149.8 kB / 354.9 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.135, allocations: 117.6 kB / 355 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.135, allocations: 13.19 kB / 355.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.135, allocations: 4 kB / 355.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.1351, allocations: 3.938 kB / 355.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1351, allocations: 3.984 kB / 355.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.1352, allocations: 189.5 kB / 355.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1352, allocations: 0 / 355.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/0.1353, allocations: 7.938 kB / 355.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1353, allocations: 4 kB / 355.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1353, allocations: 4 kB / 355.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1353, allocations: 4 kB / 355.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1353, allocations: 0 / 355.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.1356, allocations: 148.5 kB / 355.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.1357, allocations: 101 kB / 355.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.1357, allocations: 0 / 355.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.846e-05/0.1358, allocations: 8 kB / 355.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.008e-05/0.1358, allocations: 4 kB / 355.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1358, allocations: 4 kB / 355.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.1359, allocations: 109.8 kB / 355.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1359, allocations: 0 / 355.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000287/0.1362, allocations: 20 kB / 355.7 MB, free: 15.2 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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001929/0.1364, allocations: 107.7 kB / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.1366, allocations: 91.91 kB / 355.8 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1367, allocations: 0 / 355.8 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.1367, allocations: 0 / 355.8 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.1372, allocations: 79.94 kB / 355.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.1378, allocations: 251.4 kB / 356.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.1383, allocations: 0.7087 MB / 356.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.158e-05/0.1383, allocations: 8.594 kB / 356.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/0.1384, allocations: 27.36 kB / 356.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1384, allocations: 7.938 kB / 356.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of Templates: time 0.004383/0.1428, allocations: 0.897 MB / 357.8 MB, free: 12.98 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches