Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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.001961/0.001961, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.002763/0.002763, allocations: 187.7 kB / 23.7 MB, free: 4.191 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.493/1.493, allocations: 225.7 MB / 252.5 MB, free: 12.83 MB / 206.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.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002894/0.002894, allocations: 51.91 kB / 370.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3594, allocations: 52.18 MB / 422.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001829/0.3613, allocations: 0.5268 MB / 423.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.3639, allocations: 1.862 MB / 424.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.3639, allocations: 0 / 424.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.3657, allocations: 144.8 kB / 425.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.245e-05/0.3658, allocations: 19.98 kB / 425.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.366, allocations: 55.61 kB / 425.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.3661, allocations: 47.83 kB / 425.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.3662, allocations: 4 kB / 425.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.437e-05/0.3663, allocations: 31.86 kB / 425.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.3664, allocations: 23.91 kB / 425.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.3664, allocations: 4 kB / 425.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-05/0.3665, allocations: 19.92 kB / 425.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.3666, allocations: 59.81 kB / 425.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.681e-05/0.3667, allocations: 31.8 kB / 425.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.367, allocations: 117.1 kB / 425.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.367, allocations: 0 / 425.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.367, allocations: 0 / 425.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.367, allocations: 0 / 425.5 MB, free: 11.5 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0008361/0.3678, allocations: 411.2 kB / 425.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.3679, allocations: 11.97 kB / 425.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.091e-05/0.368, allocations: 38.69 kB / 425.9 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.368, allocations: 16.84 kB / 426 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.3684, allocations: 191.2 kB / 426.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-06/0.3684, allocations: 384 / 426.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.3684, allocations: 384 / 426.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.3686, allocations: 176.9 kB / 426.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3686, allocations: 0 / 426.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.3687, allocations: 4 kB / 426.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3687, allocations: 0 / 426.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.754e-05/0.3687, allocations: 4 kB / 426.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.3691, allocations: 172.7 kB / 426.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.862e-05/0.3691, allocations: 22.52 kB / 426.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.053e-05/0.3692, allocations: 8.922 kB / 426.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.814e-06/0.3692, allocations: 0 / 426.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.103e-05/0.3692, allocations: 64.2 kB / 426.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.3692, allocations: 0 / 426.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001826/0.3694, allocations: 53.59 kB / 426.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.3695, allocations: 158.2 kB / 426.8 MB, free: 9.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.3698, allocations: 231.8 kB / 427 MB, free: 9.727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.3698, allocations: 25.7 kB / 427 MB, free: 9.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.3699, allocations: 116.1 kB / 427.2 MB, free: 9.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.3699, allocations: 12.08 kB / 427.2 MB, free: 9.566 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.37, allocations: 17.72 kB / 427.2 MB, free: 9.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.3701, allocations: 322.8 kB / 427.5 MB, free: 9.219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.887e-05/0.3702, allocations: 8 kB / 427.5 MB, free: 9.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.3703, allocations: 143.1 kB / 427.6 MB, free: 9.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.861e-05/0.3703, allocations: 20.84 kB / 427.7 MB, free: 9.008 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3703, allocations: 0 / 427.7 MB, free: 9.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.687e-05/0.3704, allocations: 57.48 kB / 427.7 MB, free: 8.945 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3704, allocations: 7.938 kB / 427.7 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3704, allocations: 4.094 kB / 427.7 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3705, allocations: 4.031 kB / 427.7 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.882e-05/0.3705, allocations: 4 kB / 427.7 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3705, allocations: 0 / 427.7 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.3706, allocations: 15.98 kB / 427.8 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3706, allocations: 0 / 427.8 MB, free: 8.91 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0001196/0.3707, allocations: 125.8 kB / 427.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.3708, allocations: 15.89 kB / 427.9 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.3708, allocations: 24.48 kB / 427.9 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3708, allocations: 0 / 427.9 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3708, allocations: 4 kB / 427.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.3708, allocations: 3.938 kB / 427.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.371, allocations: 164.7 kB / 428.1 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.371, allocations: 0 / 428.1 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.902e-05/0.3711, allocations: 7.922 kB / 428.1 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.3711, allocations: 0 / 428.1 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3711, allocations: 0 / 428.1 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3711, allocations: 4 kB / 428.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3711, allocations: 0 / 428.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.3712, allocations: 80.97 kB / 428.2 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.772e-05/0.3713, allocations: 39.94 kB / 428.2 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.3714, allocations: 4 kB / 428.2 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.3714, allocations: 7.984 kB / 428.2 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/0.3715, allocations: 4 kB / 428.2 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.3715, allocations: 0 / 428.2 MB, free: 8.363 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.3717, allocations: 177.4 kB / 428.4 MB, free: 8.191 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3717, allocations: 0 / 428.4 MB, free: 8.191 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.3719, allocations: 23.94 kB / 428.4 MB, free: 8.168 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (1): * Single equations (assignments): 1 * 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.0009687/0.3729, allocations: 0.6973 MB / 429.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.889e-05/0.373, allocations: 15.94 kB / 429.1 MB, free: 7.465 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.373, allocations: 4 kB / 429.1 MB, free: 7.461 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.025e-06/0.373, allocations: 3.938 kB / 429.1 MB, free: 7.457 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.3731, allocations: 16 kB / 429.2 MB, free: 7.441 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.3753, allocations: 1.81 MB / 431 MB, free: 5.539 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.3754, allocations: 93.17 kB / 431.1 MB, free: 5.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.112e-05/0.3755, allocations: 40.58 kB / 431.1 MB, free: 5.391 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.3756, allocations: 63.52 kB / 431.2 MB, free: 5.328 MB / 334.1 MB Notification: Performance of SimCode: time 1.513e-06/0.3756, allocations: 0 / 431.2 MB, free: 5.328 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03622/0.4118, allocations: 4.545 MB / 435.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.59, allocations: 0 / 435.7 MB, free: 0.8672 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile.fmu > Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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: 14.396409520879388]