Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_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.001286/0.001286, allocations: 107.4 kB / 16.92 MB, free: 5.668 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.001435/0.001435, allocations: 191 kB / 17.85 MB, free: 5.176 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.546/1.546, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 47.53 kB / 300.7 MB, free: 5.762 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1452, allocations: 49.45 MB / 350.2 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.003682/0.1489, allocations: 1.022 MB / 351.2 MB, free: 3.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006118/0.1496, allocations: 135.5 kB / 351.3 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.1498, allocations: 4 kB / 351.3 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.15, allocations: 11.86 kB / 351.3 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.1502, allocations: 15.88 kB / 351.4 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.1505, allocations: 43.89 kB / 351.4 MB, free: 3.062 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.1507, allocations: 63.78 kB / 351.5 MB, free: 3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.1509, allocations: 47.95 kB / 351.5 MB, free: 2.953 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.905e-05/0.1509, allocations: 19.94 kB / 351.5 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.465e-05/0.151, allocations: 35.78 kB / 351.6 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.1511, allocations: 4 kB / 351.6 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.416e-05/0.1511, allocations: 8 kB / 351.6 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.804e-05/0.1512, allocations: 27.91 kB / 351.6 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.165e-05/0.1513, allocations: 47.67 kB / 351.7 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.1515, allocations: 83.64 kB / 351.7 MB, free: 2.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.1515, allocations: 0 / 351.7 MB, free: 2.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.1515, allocations: 0 / 351.7 MB, free: 2.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1515, allocations: 0 / 351.7 MB, free: 2.73 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.0007314/0.1523, allocations: 403.3 kB / 352.1 MB, free: 2.285 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.1524, allocations: 8.031 kB / 352.1 MB, free: 2.277 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.69e-05/0.1524, allocations: 46.67 kB / 352.2 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.1525, allocations: 20.69 kB / 352.2 MB, free: 2.203 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.1529, allocations: 204.6 kB / 352.4 MB, free: 1.965 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1529, allocations: 12.33 kB / 352.4 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.1529, allocations: 4.375 kB / 352.4 MB, free: 1.949 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/0.1534, allocations: 214.9 kB / 352.6 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1534, allocations: 4 kB / 352.6 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.1534, allocations: 4 kB / 352.6 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.1534, allocations: 4 kB / 352.6 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.625e-05/0.1535, allocations: 39.97 kB / 352.7 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002378/0.1538, allocations: 185.5 kB / 352.9 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.1541, allocations: 134.9 kB / 353 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.1542, allocations: 75.86 kB / 353.1 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.1542, allocations: 7.938 kB / 353.1 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.1543, allocations: 34.56 kB / 353.1 MB, free: 1.18 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.522e-06/0.1543, allocations: 0 / 353.1 MB, free: 1.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003234/0.1546, allocations: 145.7 kB / 353.2 MB, free: 1.031 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.1547, allocations: 67.31 kB / 353.3 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.1548, allocations: 147.9 kB / 353.5 MB, free: 0.793 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1549, allocations: 29.7 kB / 353.5 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.1549, allocations: 96.45 kB / 353.6 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.1549, allocations: 0 / 353.6 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/0.155, allocations: 37.7 kB / 353.6 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1551, allocations: 322.8 kB / 353.9 MB, free: 300 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.141e-05/0.1552, allocations: 23.91 kB / 354 MB, free: 276 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1553, allocations: 121.7 kB / 354.1 MB, free: 104 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.1555, allocations: 149.5 kB / 354.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.1555, allocations: 3.938 kB / 354.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002641/0.1558, allocations: 157.2 kB / 354.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1558, allocations: 4 kB / 354.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1558, allocations: 4 kB / 354.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.1558, allocations: 4 kB / 354.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.156, allocations: 35.92 kB / 354.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.156, allocations: 8.438 kB / 354.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.77e-05/0.1561, allocations: 15.84 kB / 354.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.1561, allocations: 12 kB / 354.5 MB, free: 15.66 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: 0 () * 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.0001287/0.1562, allocations: 137.7 kB / 354.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.1564, allocations: 112.3 kB / 354.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.181e-05/0.1565, allocations: 21.17 kB / 354.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1565, allocations: 4 kB / 354.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1565, allocations: 3.938 kB / 354.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1565, allocations: 0 / 354.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.1566, allocations: 193.5 kB / 354.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1566, allocations: 4 kB / 354.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.1568, allocations: 35.91 kB / 355 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.1568, allocations: 0 / 355 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1568, allocations: 3.938 kB / 355 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1568, allocations: 0 / 355 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1568, allocations: 0 / 355 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.157, allocations: 152.9 kB / 355.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.704e-05/0.1571, allocations: 104.8 kB / 355.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.1572, allocations: 8 kB / 355.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.357e-05/0.1572, allocations: 8 kB / 355.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.1572, allocations: 0 / 355.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.1572, allocations: 0 / 355.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.834e-05/0.1573, allocations: 112.9 kB / 355.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1573, allocations: 0 / 355.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1576, allocations: 16 kB / 355.4 MB, free: 14.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: 0 () * 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.0007923/0.1584, allocations: 0.7454 MB / 356.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.1587, allocations: 103 kB / 356.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1587, allocations: 5.062 kB / 356.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.1587, allocations: 0 / 356.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.1593, allocations: 83.78 kB / 356.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.1612, allocations: 1.643 MB / 357.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.1616, allocations: 0.7162 MB / 358.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.219e-05/0.1616, allocations: 12.64 kB / 358.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.1617, allocations: 27.44 kB / 358.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1617, allocations: 0 / 358.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.1841, allocations: 2.423 MB / 361.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.354, allocations: 15.81 kB / 361.1 MB, free: 8.789 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.6e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches