Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 120.1 kB / 17.78 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 198.8 kB / 20.73 MB, free: 2.289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] 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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 47.92 kB / 365.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.119, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002982/0.1219, allocations: 1.627 MB / 419.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008576/0.1228, allocations: 494.7 kB / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.072e-05/0.1229, allocations: 0 / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.844e-05/0.123, allocations: 7.875 kB / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.1231, allocations: 23.84 kB / 419.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.1233, allocations: 43.89 kB / 420 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.1235, allocations: 63.72 kB / 420 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.1236, allocations: 19.98 kB / 420.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.112e-05/0.1236, allocations: 23.91 kB / 420.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.73e-05/0.1237, allocations: 31.8 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.1238, allocations: 4 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.392e-05/0.1238, allocations: 4 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.194e-05/0.1238, allocations: 19.92 kB / 420.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.141e-05/0.1239, allocations: 39.73 kB / 420.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.124, allocations: 63.67 kB / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.124, allocations: 0 / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.124, allocations: 0 / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.124, allocations: 0 / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006484/0.1247, allocations: 394.9 kB / 420.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1247, allocations: 12.03 kB / 420.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.662e-05/0.1248, allocations: 38.73 kB / 420.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.1248, allocations: 8.891 kB / 420.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.1251, allocations: 220 kB / 420.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.361e-06/0.1251, allocations: 384 / 420.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.1252, allocations: 4.375 kB / 420.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.1255, allocations: 129.9 kB / 421 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1255, allocations: 4 kB / 421 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.1255, allocations: 11.98 kB / 421 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.1255, allocations: 0 / 421 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.1257, allocations: 39.91 kB / 421.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.1262, allocations: 381.9 kB / 421.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.1263, allocations: 79.77 kB / 421.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.204e-05/0.1264, allocations: 34.62 kB / 421.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.1265, allocations: 4 kB / 421.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.1265, allocations: 42.5 kB / 421.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.1265, allocations: 0 / 421.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004062/0.1269, allocations: 113.5 kB / 421.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.127, allocations: 111.2 kB / 421.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.1271, allocations: 155.3 kB / 422 MB, free: 8.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1272, allocations: 25.7 kB / 422 MB, free: 8.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.1272, allocations: 92.09 kB / 422.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.1273, allocations: 7.953 kB / 422.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.1273, allocations: 21.7 kB / 422.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1275, allocations: 318.8 kB / 422.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.227e-05/0.1275, allocations: 15.98 kB / 422.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.2e-05/0.1276, allocations: 51.34 kB / 422.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.1278, allocations: 63.41 kB / 422.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1278, allocations: 0 / 422.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002092/0.128, allocations: 93.48 kB / 422.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.128, allocations: 4 kB / 422.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.128, allocations: 0 / 422.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.128, allocations: 4 kB / 422.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1282, allocations: 11.98 kB / 422.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1282, allocations: 8.062 kB / 422.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.861e-05/0.1282, allocations: 7.938 kB / 422.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1282, allocations: 4 kB / 422.7 MB, free: 7.371 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001127/0.1283, allocations: 121.8 kB / 422.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.1285, allocations: 57.58 kB / 422.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.1285, allocations: 11.88 kB / 422.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.1285, allocations: 4 kB / 422.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1285, allocations: 0 / 422.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1285, allocations: 4.031 kB / 422.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.1288, allocations: 181.6 kB / 423.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1288, allocations: 0 / 423.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.921e-05/0.1288, allocations: 15.98 kB / 423.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1288, allocations: 0 / 423.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1289, allocations: 3.938 kB / 423.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1289, allocations: 0 / 423.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1289, allocations: 4 kB / 423.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.1292, allocations: 283.4 kB / 423.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.128e-05/0.1292, allocations: 89.05 kB / 423.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.1292, allocations: 0 / 423.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.1294, allocations: 15.98 kB / 423.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.1294, allocations: 7.984 kB / 423.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1294, allocations: 0 / 423.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.403e-05/0.1295, allocations: 118.5 kB / 423.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1295, allocations: 0 / 423.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1298, allocations: 8 kB / 423.6 MB, free: 6.359 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0006275/0.1304, allocations: 0.8145 MB / 424.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.1306, allocations: 47.91 kB / 424.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1306, allocations: 0 / 424.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.218e-05/0.1307, allocations: 19.98 kB / 424.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.1311, allocations: 22.64 kB / 424.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.1329, allocations: 1.574 MB / 426.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.1332, allocations: 0.7 MB / 426.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.662e-05/0.1333, allocations: 11.94 kB / 426.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.698e-05/0.1334, allocations: 27.36 kB / 426.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1334, allocations: 0 / 426.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03528/0.1686, allocations: 1.919 MB / 428.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.386/8.555, allocations: 3.75 kB / 428.7 MB, free: 1.207 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.358377286233008]