Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.00207/0.00207, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.617/1.617, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 51.94 kB / 300.1 MB, free: 5.969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1345, allocations: 49.44 MB / 349.5 MB, free: 4.512 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.003008/0.1376, allocations: 0.9444 MB / 350.5 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004836/0.1381, allocations: 143.5 kB / 350.6 MB, free: 3.422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.1383, allocations: 3.938 kB / 350.6 MB, free: 3.418 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.1385, allocations: 7.938 kB / 350.6 MB, free: 3.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.1387, allocations: 19.91 kB / 350.6 MB, free: 3.391 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.139, allocations: 36.92 kB / 350.7 MB, free: 3.355 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.1392, allocations: 67.83 kB / 350.7 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.1394, allocations: 39.98 kB / 350.8 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.228e-05/0.1395, allocations: 23.86 kB / 350.8 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.1396, allocations: 39.78 kB / 350.8 MB, free: 3.188 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.1397, allocations: 7.938 kB / 350.8 MB, free: 3.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.596e-05/0.1397, allocations: 4 kB / 350.8 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.99e-05/0.1398, allocations: 35.83 kB / 350.9 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.539e-05/0.1399, allocations: 39.75 kB / 350.9 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.1401, allocations: 87.62 kB / 351 MB, free: 3.016 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1401, allocations: 4 kB / 351 MB, free: 3.012 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1401, allocations: 0 / 351 MB, free: 3.012 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1401, allocations: 0 / 351 MB, free: 3.012 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.000669/0.1408, allocations: 419.2 kB / 351.4 MB, free: 2.551 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.1408, allocations: 12.02 kB / 351.4 MB, free: 2.539 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.975e-05/0.1409, allocations: 38.75 kB / 351.5 MB, free: 2.492 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.1409, allocations: 16.75 kB / 351.5 MB, free: 2.477 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.1412, allocations: 204 kB / 351.7 MB, free: 2.238 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1412, allocations: 12.31 kB / 351.7 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.1413, allocations: 8.375 kB / 351.7 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.1418, allocations: 234.4 kB / 351.9 MB, free: 1.98 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.1418, allocations: 3.938 kB / 351.9 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.1418, allocations: 0 / 351.9 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.1419, allocations: 4 kB / 351.9 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.142, allocations: 47.97 kB / 352 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.1423, allocations: 193.6 kB / 352.2 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.1425, allocations: 150.9 kB / 352.3 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.1427, allocations: 84.81 kB / 352.4 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.1427, allocations: 4 kB / 352.4 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.1427, allocations: 34.56 kB / 352.4 MB, free: 1.398 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.1427, allocations: 0 / 352.4 MB, free: 1.398 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003285/0.1431, allocations: 181.1 kB / 352.6 MB, free: 1.219 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.1431, allocations: 67.41 kB / 352.7 MB, free: 1.141 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.1433, allocations: 160 kB / 352.8 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.1433, allocations: 33.69 kB / 352.9 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.1434, allocations: 96.45 kB / 353 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.1434, allocations: 11.98 kB / 353 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.1435, allocations: 37.62 kB / 353 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1436, allocations: 326.8 kB / 353.3 MB, free: 468 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.92e-05/0.1437, allocations: 19.98 kB / 353.4 MB, free: 448 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.1438, allocations: 125.7 kB / 353.5 MB, free: 272 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.144, allocations: 161.4 kB / 353.6 MB, free: 60 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.144, allocations: 4 kB / 353.6 MB, free: 56 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000277/0.1443, allocations: 157.5 kB / 353.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.1443, allocations: 15.86 kB / 353.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.1443, allocations: 4 kB / 353.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.1444, allocations: 4 kB / 353.8 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1445, allocations: 31.94 kB / 353.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/0.1446, allocations: 15.91 kB / 353.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.154e-05/0.1446, allocations: 15.84 kB / 353.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.1447, allocations: 8 kB / 353.9 MB, free: 15.8 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.0002216/0.1449, allocations: 142.1 kB / 354 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.1451, allocations: 145.3 kB / 354.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.605e-05/0.1452, allocations: 17.19 kB / 354.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.1452, allocations: 4 kB / 354.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.1452, allocations: 0 / 354.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1452, allocations: 0 / 354.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.1454, allocations: 189.6 kB / 354.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1454, allocations: 0 / 354.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.1456, allocations: 31.98 kB / 354.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.1456, allocations: 3.938 kB / 354.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1456, allocations: 4 kB / 354.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.1456, allocations: 3.938 kB / 354.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1456, allocations: 0 / 354.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.1459, allocations: 164.8 kB / 354.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.146, allocations: 101 kB / 354.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.146, allocations: 7.938 kB / 354.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.617e-05/0.1461, allocations: 8 kB / 354.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-06/0.1461, allocations: 0 / 354.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.1461, allocations: 7.938 kB / 354.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1462, allocations: 118.9 kB / 354.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1462, allocations: 0 / 354.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1465, allocations: 20 kB / 354.8 MB, free: 14.75 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.0006703/0.1472, allocations: 0.7788 MB / 355.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.1474, allocations: 103.7 kB / 355.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1474, allocations: 5.062 kB / 355.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.1474, allocations: 0 / 355.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.1478, allocations: 91.92 kB / 355.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.1496, allocations: 1.732 MB / 357.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.1499, allocations: 0.72 MB / 358.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.598e-05/0.15, allocations: 9.078 kB / 358.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.1501, allocations: 31.38 kB / 358.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1501, allocations: 3.938 kB / 358.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.1639, allocations: 2.399 MB / 360.7 MB, free: 8.793 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.1642, allocations: 238.3 kB / 360.9 MB, free: 8.535 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.137, allocations: 3.094 kB / 360.9 MB, free: 8.535 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches