Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008439/0.0008439, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009881/0.0009881, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8644/0.8644, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_1_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_1_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 324.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.137e-05, allocations: 9.312 kB / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001182/0.001204, allocations: 0.5164 MB / 325.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.002781, allocations: 1.933 MB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.002815, allocations: 0 / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.003892, allocations: 148.5 kB / 327.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.277e-05/0.003935, allocations: 27.91 kB / 327.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.004068, allocations: 55.8 kB / 327.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.445e-05/0.004143, allocations: 39.84 kB / 327.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.004179, allocations: 12 kB / 327.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.265e-05/0.004261, allocations: 35.89 kB / 327.3 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.273e-05/0.004324, allocations: 15.98 kB / 327.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.004339, allocations: 0 / 327.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.183e-05/0.004381, allocations: 19.92 kB / 327.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.219e-05/0.004453, allocations: 47.84 kB / 327.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.004492, allocations: 35.91 kB / 327.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.004651, allocations: 83.73 kB / 327.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.004653, allocations: 3.938 kB / 327.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.004655, allocations: 3.984 kB / 327.5 MB, free: 13.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.004659, allocations: 0 / 327.5 MB, free: 13.01 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.000415/0.005074, allocations: 434.1 kB / 327.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.005106, allocations: 8.031 kB / 327.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.537e-05/0.005131, allocations: 30.75 kB / 328 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.005168, allocations: 20.86 kB / 328 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.005351, allocations: 194.3 kB / 328.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.005358, allocations: 8.375 kB / 328.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.005374, allocations: 384 / 328.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.005516, allocations: 173.4 kB / 328.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.005523, allocations: 4.125 kB / 328.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.005533, allocations: 8.062 kB / 328.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.005537, allocations: 0 / 328.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.561e-05/0.005553, allocations: 4 kB / 328.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.005805, allocations: 176.7 kB / 328.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.82e-05/0.005843, allocations: 18.58 kB / 328.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.272e-05/0.005856, allocations: 4.859 kB / 328.6 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.005863, allocations: 4 kB / 328.6 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.005893, allocations: 60.33 kB / 328.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.005894, allocations: 0 / 328.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001255/0.006019, allocations: 65.47 kB / 328.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.006072, allocations: 154.2 kB / 328.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.00622, allocations: 223.9 kB / 329.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.006231, allocations: 25.7 kB / 329.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.006281, allocations: 112.1 kB / 329.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.006296, allocations: 0 / 329.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.006324, allocations: 25.7 kB / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.658e-05/0.006401, allocations: 327 kB / 329.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/0.006411, allocations: 4 kB / 329.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.794e-05/0.006469, allocations: 147.1 kB / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.663e-05/0.006496, allocations: 16.8 kB / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.006497, allocations: 0 / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.789e-05/0.006555, allocations: 57.59 kB / 329.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.006566, allocations: 4 kB / 329.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.00657, allocations: 0 / 329.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.006581, allocations: 3.938 kB / 329.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.074e-05/0.006612, allocations: 12.09 kB / 329.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.006616, allocations: 3.938 kB / 329.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.863e-05/0.006675, allocations: 8 kB / 329.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-06/0.006679, allocations: 4 kB / 329.8 MB, free: 10.41 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 6.463e-05/0.006744, allocations: 133.8 kB / 329.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.006762, allocations: 15.91 kB / 329.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.006784, allocations: 20.45 kB / 330 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.006786, allocations: 7.875 kB / 330 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.00679, allocations: 0 / 330 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.006792, allocations: 0 / 330 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.006907, allocations: 168.7 kB / 330.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.006909, allocations: 0 / 330.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.584e-05/0.006925, allocations: 4 kB / 330.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-07/0.006926, allocations: 0 / 330.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.006931, allocations: 0 / 330.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.006934, allocations: 7.922 kB / 330.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.006935, allocations: 0 / 330.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.669e-05/0.007032, allocations: 80.97 kB / 330.2 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.007076, allocations: 39.94 kB / 330.3 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.007093, allocations: 0 / 330.3 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.537e-05/0.007138, allocations: 20.03 kB / 330.3 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.728e-06/0.007148, allocations: 0 / 330.3 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.00715, allocations: 0 / 330.3 MB, free: 9.852 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.663e-05/0.007246, allocations: 173.4 kB / 330.5 MB, free: 9.684 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007247, allocations: 3.938 kB / 330.5 MB, free: 9.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00014/0.007386, allocations: 19.94 kB / 330.5 MB, free: 9.66 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.0004269/0.007813, allocations: 0.668 MB / 331.1 MB, free: 8.992 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.497e-05/0.007888, allocations: 8 kB / 331.2 MB, free: 8.984 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.00789, allocations: 0 / 331.2 MB, free: 8.984 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.534e-06/0.007898, allocations: 7.938 kB / 331.2 MB, free: 8.977 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.008018, allocations: 34.3 kB / 331.2 MB, free: 8.945 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.009404, allocations: 1.85 MB / 333 MB, free: 7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.649e-05/0.009461, allocations: 97.3 kB / 333.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.875e-05/0.00951, allocations: 36.52 kB / 333.2 MB, free: 6.852 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.009588, allocations: 80.42 kB / 333.3 MB, free: 6.773 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.009589, allocations: 0 / 333.3 MB, free: 6.773 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.02846, allocations: 4.484 MB / 337.7 MB, free: 2.363 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.628/6.656, allocations: 0 / 337.7 MB, free: 2.363 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile.fmu > Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/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_4.1.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: 8.283862178213894]