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.001498/0.001498, allocations: 93.34 kB / 16.65 MB, free: 6.586 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.001375/0.001375, allocations: 185.2 kB / 17.57 MB, free: 6.203 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.658/1.658, allocations: 223.3 MB / 241.6 MB, free: 108 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003701, allocations: 4 kB / 301.5 MB, free: 6.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1458, allocations: 50.41 MB / 351.9 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001538/0.1474, allocations: 0.6086 MB / 352.6 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005359/0.148, allocations: 143.5 kB / 352.7 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.1481, allocations: 4 kB / 352.7 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.1483, allocations: 7.938 kB / 352.7 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.1485, allocations: 11.92 kB / 352.7 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.1488, allocations: 47.83 kB / 352.8 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.149, allocations: 63.78 kB / 352.8 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.1491, allocations: 39.97 kB / 352.9 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.773e-05/0.1492, allocations: 15.92 kB / 352.9 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.1493, allocations: 39.78 kB / 352.9 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.1494, allocations: 0 / 352.9 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.718e-05/0.1494, allocations: 4 kB / 352.9 MB, free: 2.609 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.789e-05/0.1495, allocations: 23.92 kB / 353 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.112e-05/0.1495, allocations: 65.38 kB / 353 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.1497, allocations: 79.62 kB / 353.1 MB, free: 2.438 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1497, allocations: 0 / 353.1 MB, free: 2.438 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1497, allocations: 4 kB / 353.1 MB, free: 2.434 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1497, allocations: 0 / 353.1 MB, free: 2.434 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.0006178/0.1504, allocations: 403.2 kB / 353.5 MB, free: 1.988 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.1504, allocations: 8.031 kB / 353.5 MB, free: 1.98 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.441e-05/0.1505, allocations: 38.75 kB / 353.5 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.1505, allocations: 24.75 kB / 353.6 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.1508, allocations: 204.1 kB / 353.8 MB, free: 1.672 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1508, allocations: 8.328 kB / 353.8 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.1509, allocations: 8.375 kB / 353.8 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.1513, allocations: 238.4 kB / 354 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1513, allocations: 3.938 kB / 354 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.1514, allocations: 8 kB / 354 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1514, allocations: 0 / 354 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.998e-05/0.1515, allocations: 43.97 kB / 354.1 MB, free: 1.359 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.1517, allocations: 189.6 kB / 354.2 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.152, allocations: 154.9 kB / 354.4 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.1521, allocations: 88.75 kB / 354.5 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.1521, allocations: 4 kB / 354.5 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.1521, allocations: 38.5 kB / 354.5 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.1522, allocations: 0 / 354.5 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003482/0.1525, allocations: 180.8 kB / 354.7 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.1526, allocations: 63.41 kB / 354.8 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1528, allocations: 162.1 kB / 354.9 MB, free: 412 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1528, allocations: 25.7 kB / 354.9 MB, free: 380 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.1528, allocations: 92.47 kB / 355 MB, free: 280 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.1529, allocations: 11.98 kB / 355.1 MB, free: 268 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.1529, allocations: 25.72 kB / 355.1 MB, free: 236 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1531, allocations: 322.8 kB / 355.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.778e-05/0.1531, allocations: 27.98 kB / 355.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.1533, allocations: 127.9 kB / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.1534, allocations: 153.5 kB / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1534, allocations: 4 kB / 355.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002489/0.1537, allocations: 157.2 kB / 355.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.1537, allocations: 15.92 kB / 355.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.1537, allocations: 4.5 kB / 355.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.1538, allocations: 8 kB / 355.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.1539, allocations: 27.94 kB / 355.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.1539, allocations: 7.984 kB / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.113e-05/0.154, allocations: 23.78 kB / 355.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.154, allocations: 8 kB / 355.9 MB, free: 15.25 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.0001405/0.1542, allocations: 141.8 kB / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.1544, allocations: 141.4 kB / 356.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.238e-05/0.1544, allocations: 17.19 kB / 356.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1544, allocations: 4 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1544, allocations: 0 / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1544, allocations: 0 / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.1546, allocations: 197.5 kB / 356.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1546, allocations: 0 / 356.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.1547, allocations: 31.92 kB / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.1547, allocations: 3.938 kB / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1548, allocations: 0 / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1548, allocations: 0 / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1548, allocations: 0 / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.155, allocations: 164.9 kB / 356.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.021e-05/0.1551, allocations: 108.8 kB / 356.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.1551, allocations: 11.94 kB / 356.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.877e-05/0.1552, allocations: 4 kB / 356.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-06/0.1552, allocations: 0 / 356.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.1552, allocations: 8 kB / 356.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.819e-05/0.1553, allocations: 117.5 kB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1553, allocations: 4 kB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1556, allocations: 16 kB / 356.9 MB, free: 14.2 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.0006622/0.1562, allocations: 0.7748 MB / 357.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.1565, allocations: 107.8 kB / 357.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1565, allocations: 0 / 357.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.1565, allocations: 0 / 357.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.1569, allocations: 99.05 kB / 357.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.1587, allocations: 1.743 MB / 359.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.159, allocations: 0.7123 MB / 360.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.822e-05/0.1591, allocations: 13.09 kB / 360.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.1592, allocations: 31.42 kB / 360.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1592, allocations: 0 / 360.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.1743, allocations: 2.321 MB / 362.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/0.1746, allocations: 240.5 kB / 362.9 MB, free: 8.082 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/2.309, allocations: 0 / 362.9 MB, free: 8.082 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