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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001574/0.001574, allocations: 114.6 kB / 17.33 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001746/0.001747, allocations: 209.8 kB / 18.27 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 60.97 kB / 306.6 MB, free: 0.8516 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1337, allocations: 50.52 MB / 357.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.0037/0.1375, allocations: 0.9562 MB / 358 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006277/0.1382, allocations: 135.6 kB / 358.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.1384, allocations: 8 kB / 358.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.1386, allocations: 15.86 kB / 358.2 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.1388, allocations: 4 kB / 358.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.1392, allocations: 43.89 kB / 358.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.1394, allocations: 67.78 kB / 358.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.1397, allocations: 55.94 kB / 358.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.131e-05/0.1397, allocations: 27.86 kB / 358.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1399, allocations: 35.84 kB / 358.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.1399, allocations: 4 kB / 358.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.556e-05/0.1399, allocations: 8 kB / 358.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.502e-05/0.14, allocations: 35.91 kB / 358.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.549e-05/0.1401, allocations: 43.67 kB / 358.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.1403, allocations: 95.62 kB / 358.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1404, allocations: 0 / 358.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1404, allocations: 0 / 358.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1404, allocations: 0 / 358.6 MB, free: 12.8 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.0008421/0.1412, allocations: 419.1 kB / 359 MB, free: 12.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.1413, allocations: 8.031 kB / 359 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.108e-05/0.1414, allocations: 42.73 kB / 359.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/0.1414, allocations: 16.75 kB / 359.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.1417, allocations: 203.4 kB / 359.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.1418, allocations: 12.38 kB / 359.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1418, allocations: 4.375 kB / 359.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/0.1423, allocations: 239.5 kB / 359.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1424, allocations: 7.875 kB / 359.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1424, allocations: 0 / 359.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1424, allocations: 8 kB / 359.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.796e-05/0.1425, allocations: 47.97 kB / 359.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002399/0.1427, allocations: 189.6 kB / 359.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.143, allocations: 146.9 kB / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.1432, allocations: 87.3 kB / 360 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.1432, allocations: 8 kB / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.1433, allocations: 30.56 kB / 360 MB, free: 11.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.1433, allocations: 0 / 360 MB, free: 11.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004794/0.1438, allocations: 181.6 kB / 360.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/0.1438, allocations: 63.41 kB / 360.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.144, allocations: 154.2 kB / 360.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.1441, allocations: 29.7 kB / 360.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.1441, allocations: 100.5 kB / 360.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.1442, allocations: 8 kB / 360.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.1443, allocations: 37.61 kB / 360.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1444, allocations: 326.8 kB / 360.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-05/0.1445, allocations: 23.92 kB / 361 MB, free: 10.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.1446, allocations: 121.7 kB / 361.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.1449, allocations: 153.5 kB / 361.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.1449, allocations: 3.938 kB / 361.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002719/0.1452, allocations: 161.3 kB / 361.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.1452, allocations: 7.938 kB / 361.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.1452, allocations: 4 kB / 361.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.1452, allocations: 7.938 kB / 361.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.1454, allocations: 35.92 kB / 361.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.1454, allocations: 7.984 kB / 361.4 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.122e-05/0.1455, allocations: 16.31 kB / 361.5 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.1455, allocations: 12 kB / 361.5 MB, free: 9.609 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.0001783/0.1457, allocations: 149.7 kB / 361.6 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.1459, allocations: 144 kB / 361.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.064e-05/0.146, allocations: 21.17 kB / 361.8 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.146, allocations: 4 kB / 361.8 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.146, allocations: 0 / 361.8 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.146, allocations: 3.938 kB / 361.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.1462, allocations: 189.6 kB / 362 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1462, allocations: 3.984 kB / 362 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.1464, allocations: 31.92 kB / 362 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/0.1464, allocations: 7.922 kB / 362 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.1464, allocations: 4 kB / 362 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1464, allocations: 0 / 362 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1465, allocations: 0 / 362 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.1467, allocations: 168.8 kB / 362.2 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.1468, allocations: 97 kB / 362.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.1469, allocations: 11.94 kB / 362.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.819e-05/0.1469, allocations: 7.984 kB / 362.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-06/0.1469, allocations: 0 / 362.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.147, allocations: 4 kB / 362.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1471, allocations: 122.2 kB / 362.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1471, allocations: 0 / 362.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.1474, allocations: 20 kB / 362.4 MB, free: 8.539 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.0009292/0.1483, allocations: 0.7761 MB / 363.2 MB, free: 7.734 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002935/0.1486, allocations: 127.5 kB / 363.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1486, allocations: 256 / 363.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.1486, allocations: 4 kB / 363.3 MB, free: 7.609 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.1492, allocations: 94.2 kB / 363.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.1514, allocations: 1.737 MB / 365.2 MB, free: 5.602 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/0.152, allocations: 0.7162 MB / 365.9 MB, free: 4.855 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.012e-05/0.1521, allocations: 9.078 kB / 365.9 MB, free: 4.844 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.552e-05/0.1522, allocations: 27.44 kB / 365.9 MB, free: 4.816 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1522, allocations: 0 / 365.9 MB, free: 4.816 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.1726, allocations: 2.501 MB / 368.4 MB, free: 2.484 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003487/0.1731, allocations: 236.2 kB / 368.7 MB, free: 2.227 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/2.385, allocations: 0 / 368.7 MB, free: 2.227 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > 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