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.001194/0.001194, allocations: 101.5 kB / 21.21 MB, free: 0.6211 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.001231/0.001231, allocations: 193 kB / 24.49 MB, free: 3.934 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.36/1.36, allocations: 225.7 MB / 253.3 MB, free: 12.84 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 43.92 kB / 371.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2373, allocations: 52.18 MB / 423.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001511/0.2388, allocations: 0.5159 MB / 423.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.241, allocations: 1.87 MB / 425.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.2411, allocations: 0 / 425.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002148/0.2432, allocations: 134.8 kB / 425.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.993e-05/0.2433, allocations: 19.98 kB / 425.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.2435, allocations: 59.55 kB / 425.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.526e-05/0.2436, allocations: 47.89 kB / 426 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.061e-05/0.2436, allocations: 0 / 426 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.358e-05/0.2437, allocations: 35.8 kB / 426 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.093e-05/0.2437, allocations: 23.91 kB / 426 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.2438, allocations: 0 / 426 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.251e-05/0.2438, allocations: 19.98 kB / 426.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.583e-05/0.2439, allocations: 59.81 kB / 426.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.684e-05/0.244, allocations: 35.73 kB / 426.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.2442, allocations: 113.6 kB / 426.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2442, allocations: 0 / 426.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2442, allocations: 0 / 426.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.2442, allocations: 3.938 kB / 426.3 MB, free: 11.53 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.0005826/0.2448, allocations: 415.2 kB / 426.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.2448, allocations: 8.031 kB / 426.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.797e-05/0.2448, allocations: 4.188 kB / 426.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.997e-05/0.2449, allocations: 34.75 kB / 426.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.2449, allocations: 16.83 kB / 426.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.2452, allocations: 187.2 kB / 426.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.2452, allocations: 8.375 kB / 426.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.2452, allocations: 384 / 426.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.2454, allocations: 180.7 kB / 427.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.2454, allocations: 0 / 427.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.2454, allocations: 0 / 427.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.2454, allocations: 0 / 427.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.763e-05/0.2454, allocations: 7.984 kB / 427.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.2457, allocations: 168.8 kB / 427.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.21e-05/0.2458, allocations: 18.52 kB / 427.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.16e-05/0.2458, allocations: 12.92 kB / 427.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.2458, allocations: 7.938 kB / 427.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.2458, allocations: 60.25 kB / 427.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2458, allocations: 4 kB / 427.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001407/0.246, allocations: 45.61 kB / 427.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/0.2461, allocations: 154.2 kB / 427.6 MB, free: 9.996 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.2463, allocations: 235.8 kB / 427.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.2463, allocations: 33.58 kB / 427.8 MB, free: 9.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.271e-05/0.2464, allocations: 116.1 kB / 427.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.2464, allocations: 3.953 kB / 427.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.2465, allocations: 17.72 kB / 428 MB, free: 9.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2466, allocations: 331 kB / 428.3 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.2466, allocations: 7.984 kB / 428.3 MB, free: 9.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.626e-05/0.2467, allocations: 143.1 kB / 428.4 MB, free: 9.051 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.769e-05/0.2467, allocations: 12.84 kB / 428.4 MB, free: 9.035 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2467, allocations: 0 / 428.4 MB, free: 9.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.445e-05/0.2468, allocations: 61.48 kB / 428.5 MB, free: 8.969 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2468, allocations: 8 kB / 428.5 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2468, allocations: 0 / 428.5 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.2469, allocations: 0 / 428.5 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.573e-05/0.2469, allocations: 8.094 kB / 428.5 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2469, allocations: 7.922 kB / 428.5 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.247, allocations: 8 kB / 428.5 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.247, allocations: 4 kB / 428.5 MB, free: 8.934 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 9.857e-05/0.2471, allocations: 129.8 kB / 428.7 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.2471, allocations: 15.89 kB / 428.7 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.2472, allocations: 16.48 kB / 428.7 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.2472, allocations: 0 / 428.7 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.2472, allocations: 0 / 428.7 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2472, allocations: 0 / 428.7 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.2474, allocations: 168.7 kB / 428.9 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.2474, allocations: 7.938 kB / 428.9 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.397e-05/0.2474, allocations: 0 / 428.9 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.2474, allocations: 0 / 428.9 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.2474, allocations: 0 / 428.9 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.2474, allocations: 0 / 428.9 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2474, allocations: 0 / 428.9 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.2475, allocations: 84.97 kB / 429 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.268e-05/0.2476, allocations: 39.84 kB / 429 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.2476, allocations: 3.984 kB / 429 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.192e-05/0.2477, allocations: 8.094 kB / 429 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-06/0.2477, allocations: 4 kB / 429 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.2477, allocations: 4 kB / 429 MB, free: 8.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.2479, allocations: 177.4 kB / 429.2 MB, free: 8.219 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2479, allocations: 0 / 429.2 MB, free: 8.219 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002093/0.2481, allocations: 15.94 kB / 429.2 MB, free: 8.203 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.0007213/0.2488, allocations: 0.7062 MB / 429.9 MB, free: 7.508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.437e-05/0.2489, allocations: 15.94 kB / 429.9 MB, free: 7.492 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2489, allocations: 0 / 429.9 MB, free: 7.492 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.949e-06/0.2489, allocations: 8.062 kB / 429.9 MB, free: 7.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.2491, allocations: 19.25 kB / 430 MB, free: 7.469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.251, allocations: 1.814 MB / 431.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.154e-05/0.2511, allocations: 105 kB / 431.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.985e-05/0.2512, allocations: 32.64 kB / 431.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.2513, allocations: 63.38 kB / 432 MB, free: 5.348 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2513, allocations: 0 / 432 MB, free: 5.348 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/0.2802, allocations: 4.182 MB / 436.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.59, allocations: 4.047 kB / 436.1 MB, free: 1.262 MB / 334.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 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.mat","/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: 13.045637232018635]