Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009869/0.000987, allocations: 101.3 kB / 17 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001091, allocations: 191.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 227.7 MB / 246.4 MB, free: 9.805 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003582, allocations: 8 kB / 307.1 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1474, allocations: 51.52 MB / 358.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001417/0.1489, allocations: 0.5901 MB / 359.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005529/0.1495, allocations: 143.6 kB / 359.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.1496, allocations: 3.938 kB / 359.4 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.1497, allocations: 19.92 kB / 359.4 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.1499, allocations: 7.922 kB / 359.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.1502, allocations: 35.97 kB / 359.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.1504, allocations: 63.77 kB / 359.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.1505, allocations: 40.14 kB / 359.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.967e-05/0.1506, allocations: 23.86 kB / 359.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.1507, allocations: 27.86 kB / 359.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.1507, allocations: 0 / 359.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.745e-05/0.1507, allocations: 4 kB / 359.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.919e-05/0.1508, allocations: 23.91 kB / 359.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.213e-05/0.1509, allocations: 37.64 kB / 359.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.151, allocations: 71.81 kB / 359.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.151, allocations: 0 / 359.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.151, allocations: 0 / 359.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.151, allocations: 0 / 359.7 MB, free: 12.33 MB / 302.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.0005931/0.1516, allocations: 395.2 kB / 360.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.1517, allocations: 8.031 kB / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.1517, allocations: 15.81 kB / 360.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.152, allocations: 210.2 kB / 360.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.152, allocations: 4 kB / 360.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.1521, allocations: 15.95 kB / 360.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.1525, allocations: 234.9 kB / 360.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1526, allocations: 0 / 360.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.1526, allocations: 4 kB / 360.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.1526, allocations: 7.953 kB / 360.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.133e-05/0.1527, allocations: 43.97 kB / 360.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.1529, allocations: 193.6 kB / 360.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.1532, allocations: 150.9 kB / 361 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.1533, allocations: 80.81 kB / 361.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.1533, allocations: 0 / 361.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1534, allocations: 34.56 kB / 361.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.1534, allocations: 7.938 kB / 361.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003586/0.1537, allocations: 176.1 kB / 361.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.1538, allocations: 63.41 kB / 361.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.154, allocations: 170 kB / 361.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.154, allocations: 25.7 kB / 361.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.1541, allocations: 92.47 kB / 361.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.1541, allocations: 11.98 kB / 361.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.1541, allocations: 4 kB / 361.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1542, allocations: 322.8 kB / 361.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.759e-05/0.1543, allocations: 23.98 kB / 362 MB, free: 9.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.1544, allocations: 117.7 kB / 362.1 MB, free: 9.707 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.068e-05/0.1545, allocations: 47.98 kB / 362.1 MB, free: 9.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1545, allocations: 0 / 362.1 MB, free: 9.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002324/0.1547, allocations: 161.6 kB / 362.3 MB, free: 9.496 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.1548, allocations: 12.03 kB / 362.3 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.1548, allocations: 8 kB / 362.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1548, allocations: 4 kB / 362.3 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.1549, allocations: 31.92 kB / 362.3 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1549, allocations: 11.98 kB / 362.4 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.195e-05/0.155, allocations: 15.86 kB / 362.4 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.155, allocations: 8 kB / 362.4 MB, free: 9.406 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,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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.0001512/0.1552, allocations: 157.7 kB / 362.5 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.1554, allocations: 125.5 kB / 362.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.1554, allocations: 21.17 kB / 362.7 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.1554, allocations: 4 kB / 362.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1555, allocations: 0 / 362.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1555, allocations: 0 / 362.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.1556, allocations: 193.5 kB / 362.9 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1556, allocations: 0 / 362.9 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.1557, allocations: 39.84 kB / 362.9 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.1558, allocations: 0 / 362.9 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1558, allocations: 4 kB / 362.9 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1558, allocations: 4 kB / 362.9 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1558, allocations: 0 / 362.9 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.156, allocations: 167.8 kB / 363.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.647e-05/0.1561, allocations: 100.9 kB / 363.2 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.1562, allocations: 4 kB / 363.2 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.378e-05/0.1562, allocations: 11.92 kB / 363.2 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-06/0.1562, allocations: 0 / 363.2 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1562, allocations: 4 kB / 363.2 MB, free: 8.484 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.099e-05/0.1563, allocations: 126.4 kB / 363.3 MB, free: 8.363 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1563, allocations: 0 / 363.3 MB, free: 8.363 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.1566, allocations: 23.94 kB / 363.3 MB, free: 8.34 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 (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.0001503/0.1567, allocations: 104.3 kB / 363.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.1569, allocations: 104.4 kB / 363.5 MB, free: 8.125 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.157, allocations: 0 / 363.5 MB, free: 8.125 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-07/0.157, allocations: 0 / 363.5 MB, free: 8.125 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.1574, allocations: 95.88 kB / 363.6 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004725/0.1579, allocations: 268.4 kB / 363.9 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.1582, allocations: 0.7242 MB / 364.6 MB, free: 6.984 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.709e-05/0.1583, allocations: 9.078 kB / 364.6 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.1583, allocations: 15.44 kB / 364.7 MB, free: 6.957 MB / 302.1 MB Notification: Performance of SimCode: time 2.455e-06/0.1584, allocations: 4 kB / 364.7 MB, free: 6.953 MB / 302.1 MB Notification: Performance of Templates: time 0.003576/0.1619, allocations: 1.026 MB / 365.7 MB, free: 5.945 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches