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.001169/0.00117, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001314/0.001314, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.643/1.643, allocations: 227.4 MB / 246.3 MB, free: 9.137 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.84 kB / 306.3 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1272, allocations: 50.54 MB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.003773/0.1311, allocations: 0.9483 MB / 357.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007502/0.1319, allocations: 151.5 kB / 357.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.1321, allocations: 0 / 357.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.1324, allocations: 15.92 kB / 357.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.1327, allocations: 7.938 kB / 357.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.133, allocations: 43.89 kB / 358 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.1332, allocations: 59.84 kB / 358 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.1334, allocations: 55.89 kB / 358.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.888e-05/0.1335, allocations: 27.86 kB / 358.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.1336, allocations: 35.83 kB / 358.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.1336, allocations: 4 kB / 358.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.232e-05/0.1337, allocations: 4 kB / 358.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.78e-05/0.1338, allocations: 31.86 kB / 358.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.575e-05/0.1339, allocations: 43.73 kB / 358.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.1341, allocations: 83.64 kB / 358.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.445e-06/0.1341, allocations: 4 kB / 358.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1341, allocations: 0 / 358.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1341, allocations: 0 / 358.3 MB, free: 12.78 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.0007016/0.1348, allocations: 419.2 kB / 358.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.1349, allocations: 8.031 kB / 358.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.271e-05/0.135, allocations: 16.75 kB / 358.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.1353, allocations: 215.4 kB / 358.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.1353, allocations: 4.375 kB / 359 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.1353, allocations: 12.38 kB / 359 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.1358, allocations: 238 kB / 359.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1359, allocations: 192 / 359.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.1359, allocations: 11.94 kB / 359.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1359, allocations: 0 / 359.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.519e-05/0.136, allocations: 51.97 kB / 359.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002415/0.1362, allocations: 189.6 kB / 359.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.1365, allocations: 142.9 kB / 359.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.1367, allocations: 84.83 kB / 359.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.1367, allocations: 0 / 359.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.1367, allocations: 42.55 kB / 359.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.1368, allocations: 0 / 359.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004079/0.1372, allocations: 188 kB / 359.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.013e-05/0.1373, allocations: 59.41 kB / 360 MB, free: 10.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.1375, allocations: 158.2 kB / 360.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1375, allocations: 29.7 kB / 360.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.1376, allocations: 92.45 kB / 360.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.1377, allocations: 12 kB / 360.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.78e-05/0.1377, allocations: 45.61 kB / 360.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1379, allocations: 318.8 kB / 360.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.802e-05/0.138, allocations: 23.98 kB / 360.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.1381, allocations: 125.6 kB / 360.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.1383, allocations: 157.5 kB / 360.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.1383, allocations: 4 kB / 360.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002749/0.1386, allocations: 153.5 kB / 361 MB, free: 9.715 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.1386, allocations: 4 kB / 361.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.1387, allocations: 7.938 kB / 361.1 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.1387, allocations: 8 kB / 361.1 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.1388, allocations: 35.92 kB / 361.1 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.1389, allocations: 11.92 kB / 361.1 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.068e-05/0.1389, allocations: 7.906 kB / 361.1 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.139, allocations: 12 kB / 361.1 MB, free: 9.629 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.0001507/0.1391, allocations: 154 kB / 361.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.1393, allocations: 133.4 kB / 361.4 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.404e-05/0.1394, allocations: 33.09 kB / 361.4 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.1394, allocations: 4 kB / 361.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1394, allocations: 0 / 361.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1394, allocations: 0 / 361.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.1396, allocations: 185.6 kB / 361.6 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1396, allocations: 0 / 361.6 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.1398, allocations: 35.91 kB / 361.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.1398, allocations: 4 kB / 361.7 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.1398, allocations: 7.938 kB / 361.7 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1398, allocations: 0 / 361.7 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1399, allocations: 0 / 361.7 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.1401, allocations: 167.9 kB / 361.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.861e-05/0.1402, allocations: 97 kB / 361.9 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.1402, allocations: 11.92 kB / 361.9 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.089e-05/0.1403, allocations: 8 kB / 362 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-06/0.1403, allocations: 3.938 kB / 362 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.1403, allocations: 4 kB / 362 MB, free: 8.695 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.612e-05/0.1404, allocations: 122.4 kB / 362.1 MB, free: 8.578 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1404, allocations: 0 / 362.1 MB, free: 8.578 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1407, allocations: 20 kB / 362.1 MB, free: 8.559 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.0001728/0.1408, allocations: 112.2 kB / 362.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.1411, allocations: 103.8 kB / 362.3 MB, free: 8.336 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1411, allocations: 0 / 362.3 MB, free: 8.336 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.1411, allocations: 0 / 362.3 MB, free: 8.336 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.1416, allocations: 91.92 kB / 362.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005089/0.1421, allocations: 281 kB / 362.7 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1424, allocations: 0.7204 MB / 363.4 MB, free: 7.191 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.431e-05/0.1425, allocations: 13.08 kB / 363.4 MB, free: 7.176 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.1425, allocations: 15.44 kB / 363.4 MB, free: 7.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1425, allocations: 0 / 363.4 MB, free: 7.16 MB / 302.1 MB Notification: Performance of Templates: time 0.004111/0.1466, allocations: 1.079 MB / 364.5 MB, free: 6.094 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