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.001295/0.001294, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.28 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1288, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002635/0.1314, allocations: 0.8876 MB / 359.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000423/0.1319, allocations: 147.6 kB / 359.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.717e-05/0.132, allocations: 3.938 kB / 359.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.1322, allocations: 11.86 kB / 359.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.1323, allocations: 11.94 kB / 360 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.1326, allocations: 51.88 kB / 360 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.1328, allocations: 63.78 kB / 360.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.133, allocations: 47.97 kB / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.381e-05/0.133, allocations: 31.86 kB / 360.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.514e-05/0.1331, allocations: 35.83 kB / 360.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.1331, allocations: 8 kB / 360.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.1332, allocations: 4 kB / 360.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.1332, allocations: 31.91 kB / 360.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.1333, allocations: 39.69 kB / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.1334, allocations: 107.5 kB / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1335, allocations: 0 / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1335, allocations: 4 kB / 360.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1335, allocations: 0 / 360.4 MB, free: 11.88 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.0005561/0.134, allocations: 414.9 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1341, allocations: 8.031 kB / 360.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.1341, allocations: 20.73 kB / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.1344, allocations: 212 kB / 361 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1344, allocations: 8.375 kB / 361 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.1344, allocations: 8.375 kB / 361 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.1348, allocations: 245.7 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1349, allocations: 192 / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1349, allocations: 7.938 kB / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1349, allocations: 0 / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.182e-05/0.135, allocations: 59 kB / 361.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.1352, allocations: 189.6 kB / 361.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.1354, allocations: 146.9 kB / 361.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.1355, allocations: 84.83 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.1356, allocations: 0 / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1356, allocations: 34.56 kB / 361.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.1356, allocations: 0 / 361.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003019/0.1359, allocations: 189.5 kB / 362 MB, free: 10.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.136, allocations: 59.41 kB / 362 MB, free: 10.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.1361, allocations: 154.2 kB / 362.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1361, allocations: 33.7 kB / 362.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.1362, allocations: 96.39 kB / 362.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.1362, allocations: 8 kB / 362.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.1363, allocations: 49.61 kB / 362.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1364, allocations: 318.8 kB / 362.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.1364, allocations: 19.98 kB / 362.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.96e-05/0.1365, allocations: 125.7 kB / 362.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.1367, allocations: 149.5 kB / 363 MB, free: 8.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1367, allocations: 4 kB / 363 MB, free: 8.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002033/0.1369, allocations: 157.6 kB / 363.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.1369, allocations: 10.66 kB / 363.1 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1369, allocations: 3.938 kB / 363.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.137, allocations: 8 kB / 363.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1371, allocations: 31.92 kB / 363.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.1371, allocations: 11.92 kB / 363.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.1372, allocations: 15.91 kB / 363.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1372, allocations: 8 kB / 363.2 MB, free: 8.727 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.0001276/0.1373, allocations: 149.9 kB / 363.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.1375, allocations: 132.2 kB / 363.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.1376, allocations: 25.11 kB / 363.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1376, allocations: 4 kB / 363.5 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1376, allocations: 0 / 363.5 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1376, allocations: 0 / 363.5 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.1377, allocations: 189.6 kB / 363.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1377, allocations: 0 / 363.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.1379, allocations: 27.98 kB / 363.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1379, allocations: 11.98 kB / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1379, allocations: 7.875 kB / 363.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1379, allocations: 3.938 kB / 363.7 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1379, allocations: 3.938 kB / 363.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.1381, allocations: 164.8 kB / 363.9 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.159e-05/0.1382, allocations: 101 kB / 364 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.1382, allocations: 11.94 kB / 364 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.043e-05/0.1383, allocations: 3.984 kB / 364 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-06/0.1383, allocations: 4 kB / 364 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1383, allocations: 8 kB / 364 MB, free: 7.793 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.636e-05/0.1384, allocations: 118.2 kB / 364.2 MB, free: 7.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1384, allocations: 4 kB / 364.2 MB, free: 7.676 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000227/0.1386, allocations: 16 kB / 364.2 MB, free: 7.66 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.0001247/0.1388, allocations: 108.3 kB / 364.3 MB, free: 7.543 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.139, allocations: 107.8 kB / 364.4 MB, free: 7.438 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.139, allocations: 0 / 364.4 MB, free: 7.438 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.139, allocations: 0 / 364.4 MB, free: 7.438 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.1394, allocations: 90.59 kB / 364.5 MB, free: 7.352 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.1398, allocations: 251.3 kB / 364.7 MB, free: 7.078 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.1401, allocations: 0.7162 MB / 365.4 MB, free: 6.332 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.77e-05/0.1401, allocations: 13.08 kB / 365.4 MB, free: 6.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.1402, allocations: 11.44 kB / 365.5 MB, free: 6.305 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1402, allocations: 0 / 365.5 MB, free: 6.305 MB / 302.1 MB Notification: Performance of Templates: time 0.003773/0.144, allocations: 1.168 MB / 366.6 MB, free: 5.152 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 -s cvode -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/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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches