Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007089/0.0007089, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007766/0.0007766, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9822/0.9822, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.472e-05, allocations: 2.281 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001138/0.001163, allocations: 0.5139 MB / 325 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.003086, allocations: 1.925 MB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.602e-05/0.003132, allocations: 0 / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.004714, allocations: 159 kB / 327.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.321e-05/0.004777, allocations: 27.97 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.004979, allocations: 43.81 kB / 327.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.005088, allocations: 47.84 kB / 327.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.005137, allocations: 7.984 kB / 327.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.005245, allocations: 39.84 kB / 327.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.032e-05/0.005335, allocations: 15.92 kB / 327.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.00536, allocations: 4 kB / 327.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.416e-05/0.005424, allocations: 19.92 kB / 327.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.005537, allocations: 51.89 kB / 327.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.005591, allocations: 27.86 kB / 327.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.005848, allocations: 95.66 kB / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.005853, allocations: 0 / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.005854, allocations: 0 / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.005861, allocations: 0 / 327.5 MB, free: 12.96 MB / 298.7 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.0006056/0.006466, allocations: 431.2 kB / 327.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.395e-05/0.00653, allocations: 11.98 kB / 327.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.006567, allocations: 34.75 kB / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.006623, allocations: 12.89 kB / 327.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.00686, allocations: 198.4 kB / 328.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.006872, allocations: 384 / 328.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.006893, allocations: 384 / 328.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.007102, allocations: 177.3 kB / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.007111, allocations: 4.188 kB / 328.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.007126, allocations: 4.125 kB / 328.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.007134, allocations: 4 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.258e-05/0.007156, allocations: 0 / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.007559, allocations: 172.8 kB / 328.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.732e-05/0.007627, allocations: 26.5 kB / 328.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.31e-05/0.00765, allocations: 12.92 kB / 328.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.007664, allocations: 0 / 328.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.672e-05/0.007761, allocations: 60.27 kB / 328.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.007762, allocations: 0 / 328.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002046/0.007966, allocations: 57.53 kB / 328.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.139e-05/0.008048, allocations: 162.2 kB / 328.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.00824, allocations: 219.9 kB / 329 MB, free: 11.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.008258, allocations: 29.7 kB / 329 MB, free: 11.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.008322, allocations: 112.1 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.008348, allocations: 0 / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.00839, allocations: 25.83 kB / 329.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.008607, allocations: 330.8 kB / 329.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.008628, allocations: 4 kB / 329.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.953e-05/0.008717, allocations: 143.1 kB / 329.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.359e-05/0.008761, allocations: 16.86 kB / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.008765, allocations: 0 / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.688e-05/0.008862, allocations: 49.61 kB / 329.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.008882, allocations: 7.984 kB / 329.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.008889, allocations: 4 kB / 329.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.00891, allocations: 8.031 kB / 329.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.25e-05/0.008963, allocations: 3.938 kB / 329.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.008972, allocations: 4 kB / 329.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.13e-05/0.009064, allocations: 12 kB / 329.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.00907, allocations: 0 / 329.7 MB, free: 10.36 MB / 298.7 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.0001011/0.009172, allocations: 133.8 kB / 329.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.009197, allocations: 19.94 kB / 329.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.009231, allocations: 24.44 kB / 329.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.009236, allocations: 3.938 kB / 329.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.009243, allocations: 0 / 329.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.009247, allocations: 4 kB / 329.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.009446, allocations: 164.7 kB / 330.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.009448, allocations: 0 / 330.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.756e-05/0.009465, allocations: 0 / 330.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.009469, allocations: 0 / 330.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.009482, allocations: 4 kB / 330.1 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.009488, allocations: 3.938 kB / 330.1 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.009489, allocations: 0 / 330.1 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.00966, allocations: 80.97 kB / 330.2 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.009722, allocations: 35.94 kB / 330.2 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.009745, allocations: 8.094 kB / 330.2 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.596e-05/0.009801, allocations: 15.94 kB / 330.2 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.009817, allocations: 3.938 kB / 330.2 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.00982, allocations: 4 kB / 330.2 MB, free: 9.793 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.00993, allocations: 173.4 kB / 330.4 MB, free: 9.625 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00993, allocations: 0 / 330.4 MB, free: 9.625 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001623/0.01009, allocations: 15.94 kB / 330.4 MB, free: 9.609 MB / 298.7 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.0006104/0.0107, allocations: 0.6697 MB / 331.1 MB, free: 8.934 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.389e-05/0.0108, allocations: 11.94 kB / 331.1 MB, free: 8.922 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.0108, allocations: 0 / 331.1 MB, free: 8.922 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.072e-06/0.01081, allocations: 4 kB / 331.1 MB, free: 8.918 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.01096, allocations: 27.72 kB / 331.1 MB, free: 8.891 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.0128, allocations: 1.853 MB / 333 MB, free: 6.941 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.511e-05/0.01288, allocations: 97.3 kB / 333.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.182e-05/0.01296, allocations: 36.58 kB / 333.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.01306, allocations: 80.38 kB / 333.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01306, allocations: 0 / 333.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.03693, allocations: 4.462 MB / 337.7 MB, free: 2.312 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.877/6.914, allocations: 3.938 kB / 337.7 MB, free: 2.309 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Utilities_Examples_ReadRealMatrixFromFile.fmu > Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.837418221868575]