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.00124/0.00124, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 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.001379/0.001379, allocations: 212.2 kB / 24.52 MB, free: 4.074 MB / 14.72 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 1.333/1.333, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_1_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 47.92 kB / 378.5 MB, free: 3.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2358, allocations: 53.37 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.00148/0.2373, allocations: 0.5162 MB / 432.4 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.2396, allocations: 1.957 MB / 434.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.2396, allocations: 4 kB / 434.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002245/0.2419, allocations: 164.4 kB / 434.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.493e-05/0.2419, allocations: 23.92 kB / 434.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.2421, allocations: 47.44 kB / 434.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.2e-05/0.2422, allocations: 47.78 kB / 434.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.2422, allocations: 7.969 kB / 434.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.49e-05/0.2423, allocations: 27.92 kB / 434.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.075e-05/0.2424, allocations: 23.91 kB / 434.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.2424, allocations: 0 / 434.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.536e-05/0.2424, allocations: 19.94 kB / 434.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.45e-05/0.2425, allocations: 51.83 kB / 434.8 MB, free: 4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/0.2426, allocations: 39.73 kB / 434.8 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.2428, allocations: 101.6 kB / 434.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2428, allocations: 4 kB / 434.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2428, allocations: 0 / 434.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2428, allocations: 0 / 434.9 MB, free: 3.859 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.0005597/0.2434, allocations: 411.2 kB / 435.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.2434, allocations: 12.03 kB / 435.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.301e-05/0.2434, allocations: 192 / 435.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.61e-05/0.2434, allocations: 30.75 kB / 435.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.2435, allocations: 12.89 kB / 435.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.2437, allocations: 187.1 kB / 435.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.2437, allocations: 8.375 kB / 435.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.2437, allocations: 384 / 435.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.2439, allocations: 81.86 kB / 435.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.2439, allocations: 0 / 435.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.2439, allocations: 4 kB / 435.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.2439, allocations: 0 / 435.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.686e-05/0.2439, allocations: 4 kB / 435.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.2442, allocations: 168.7 kB / 435.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.298e-05/0.2443, allocations: 26.5 kB / 435.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/0.2443, allocations: 12.92 kB / 435.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.2443, allocations: 3.938 kB / 435.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.2443, allocations: 56.27 kB / 435.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.2444, allocations: 7.938 kB / 435.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001462/0.2445, allocations: 53.59 kB / 436 MB, free: 2.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.226e-05/0.2446, allocations: 158.2 kB / 436.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.2448, allocations: 219.7 kB / 436.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.2448, allocations: 25.7 kB / 436.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.2449, allocations: 112.1 kB / 436.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.2449, allocations: 4 kB / 436.5 MB, free: 2.066 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.245, allocations: 21.7 kB / 436.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2451, allocations: 331 kB / 436.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.2451, allocations: 4 kB / 436.8 MB, free: 1.703 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.808e-05/0.2452, allocations: 36.28 kB / 436.9 MB, free: 1.652 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.397e-05/0.2452, allocations: 16.86 kB / 436.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2452, allocations: 0 / 436.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.446e-05/0.2453, allocations: 61.58 kB / 437 MB, free: 1.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.2453, allocations: 8 kB / 437 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.2453, allocations: 0 / 437 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2453, allocations: 3.984 kB / 437 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.703e-05/0.2454, allocations: 4 kB / 437 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2454, allocations: 0 / 437 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.663e-05/0.2455, allocations: 8 kB / 437 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.2455, allocations: 0 / 437 MB, free: 1.543 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.0001042/0.2456, allocations: 129.8 kB / 437.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.2456, allocations: 15.84 kB / 437.1 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.2456, allocations: 28.44 kB / 437.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.2456, allocations: 0 / 437.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2456, allocations: 0 / 437.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2456, allocations: 48 / 437.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.2458, allocations: 168.7 kB / 437.3 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2458, allocations: 3.938 kB / 437.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.05e-05/0.2459, allocations: 0 / 437.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.2459, allocations: 4 kB / 437.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.2459, allocations: 0 / 437.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.2459, allocations: 0 / 437.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2459, allocations: 4 kB / 437.3 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.246, allocations: 80.97 kB / 437.4 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.945e-05/0.2461, allocations: 39.88 kB / 437.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.2461, allocations: 7.938 kB / 437.5 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.948e-05/0.2462, allocations: 4 kB / 437.5 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.2462, allocations: 4 kB / 437.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.2462, allocations: 4 kB / 437.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.2464, allocations: 169.5 kB / 437.6 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2464, allocations: 0 / 437.6 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002007/0.2466, allocations: 8 kB / 437.6 MB, free: 0.8164 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.000647/0.2472, allocations: 0.6748 MB / 438.3 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.154e-05/0.2473, allocations: 8 kB / 438.3 MB, free: 128 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2473, allocations: 0 / 438.3 MB, free: 128 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.069e-05/0.2473, allocations: 4 kB / 438.3 MB, free: 124 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.2475, allocations: 12.12 kB / 438.3 MB, free: 112 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.2494, allocations: 1.799 MB / 440.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.2497, allocations: 0.7122 MB / 440.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.218e-05/0.2498, allocations: 40.56 kB / 440.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.2499, allocations: 67.38 kB / 441 MB, free: 13.38 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2499, allocations: 0 / 441 MB, free: 13.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.2787, allocations: 3.864 MB / 444.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.68, allocations: 14.39 kB / 444.8 MB, free: 9.621 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/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: 13.11190106999129]