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.00124/0.00124, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 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.001365/0.001365, allocations: 209.5 kB / 24.52 MB, free: 3.941 MB / 14.72 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 1.331/1.331, allocations: 230.5 MB / 258.2 MB, free: 7.801 MB / 206.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 63.89 kB / 378.5 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2195, allocations: 53.41 MB / 431.9 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001503/0.2211, allocations: 0.5162 MB / 432.4 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.2234, allocations: 1.91 MB / 434.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.2234, allocations: 0 / 434.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004932/0.2284, allocations: 159.4 kB / 434.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.143e-05/0.2284, allocations: 23.91 kB / 434.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.2286, allocations: 47.88 kB / 434.5 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.2287, allocations: 35.91 kB / 434.6 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.2288, allocations: 7.984 kB / 434.6 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.578e-05/0.2289, allocations: 43.78 kB / 434.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.302e-05/0.229, allocations: 19.92 kB / 434.6 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.229, allocations: 0 / 434.6 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.802e-05/0.229, allocations: 15.98 kB / 434.7 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.809e-05/0.2291, allocations: 51.89 kB / 434.7 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.149e-05/0.2292, allocations: 31.73 kB / 434.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008364/0.23, allocations: 101.6 kB / 434.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.23, allocations: 0 / 434.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.23, allocations: 0 / 434.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.23, allocations: 0 / 434.8 MB, free: 3.57 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.0005792/0.2306, allocations: 419.2 kB / 435.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.2307, allocations: 8.031 kB / 435.3 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.338e-05/0.2307, allocations: 4.188 kB / 435.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.2307, allocations: 30.75 kB / 435.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.2307, allocations: 12.83 kB / 435.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.231, allocations: 191.1 kB / 435.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-06/0.231, allocations: 4.312 kB / 435.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.231, allocations: 384 / 435.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.2312, allocations: 176.7 kB / 435.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.2312, allocations: 0 / 435.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2312, allocations: 11.98 kB / 435.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-06/0.2312, allocations: 0 / 435.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.434e-05/0.2312, allocations: 3.938 kB / 435.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.2315, allocations: 180.6 kB / 435.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.837e-05/0.2316, allocations: 18.56 kB / 435.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.2316, allocations: 8.922 kB / 435.9 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.2316, allocations: 3.938 kB / 435.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.2317, allocations: 64.27 kB / 436 MB, free: 2.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.2317, allocations: 0 / 436 MB, free: 2.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001447/0.2318, allocations: 53.53 kB / 436 MB, free: 2.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.301e-05/0.2319, allocations: 162.3 kB / 436.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.2321, allocations: 211.8 kB / 436.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.2321, allocations: 29.7 kB / 436.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/0.2322, allocations: 112.1 kB / 436.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.2322, allocations: 0 / 436.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.2323, allocations: 17.72 kB / 436.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2324, allocations: 330.8 kB / 436.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.2324, allocations: 0 / 436.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.2325, allocations: 147.1 kB / 437 MB, free: 1.109 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/0.2326, allocations: 20.86 kB / 437 MB, free: 1.086 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2326, allocations: 4 kB / 437 MB, free: 1.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.68e-05/0.2327, allocations: 53.55 kB / 437.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.2327, allocations: 6.188 kB / 437.1 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.2327, allocations: 0 / 437.1 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2327, allocations: 3.984 kB / 437.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.697e-05/0.2327, allocations: 4 kB / 437.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.2327, allocations: 0 / 437.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.265e-05/0.2328, allocations: 8 kB / 437.1 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.2328, allocations: 4 kB / 437.1 MB, free: 1 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.0001093/0.2329, allocations: 133.9 kB / 437.2 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.233, allocations: 19.84 kB / 437.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.233, allocations: 24.44 kB / 437.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.233, allocations: 3.938 kB / 437.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.233, allocations: 0 / 437.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.233, allocations: 0 / 437.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.2332, allocations: 164.7 kB / 437.4 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.2332, allocations: 7.875 kB / 437.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.318e-05/0.2332, allocations: 0 / 437.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.2332, allocations: 4 kB / 437.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.2332, allocations: 0 / 437.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.2332, allocations: 4 kB / 437.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2332, allocations: 0 / 437.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.2334, allocations: 81.06 kB / 437.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.708e-05/0.2334, allocations: 31.86 kB / 437.6 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.2335, allocations: 3.984 kB / 437.6 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.366e-05/0.2336, allocations: 11.94 kB / 437.6 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.2336, allocations: 0 / 437.6 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.2336, allocations: 0 / 437.6 MB, free: 460 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.2337, allocations: 169.4 kB / 437.7 MB, free: 292 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2337, allocations: 0 / 437.7 MB, free: 292 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002007/0.2339, allocations: 16.09 kB / 437.8 MB, free: 276 kB / 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.0006911/0.2346, allocations: 0.6744 MB / 438.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.516e-05/0.2347, allocations: 16.09 kB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.2347, allocations: 4 kB / 438.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.1e-05/0.2347, allocations: 3.938 kB / 438.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.2349, allocations: 14.81 kB / 438.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.2367, allocations: 1.787 MB / 440.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.373e-05/0.2368, allocations: 105 kB / 440.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.148e-05/0.2369, allocations: 36.58 kB / 440.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.237, allocations: 75.55 kB / 440.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.237, allocations: 0 / 440.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.2665, allocations: 3.983 MB / 444.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.72, allocations: 8.047 kB / 444.5 MB, free: 9.523 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat --tempDir=temp_Modelica_trunk_Modelica_Utilities_Examples_ReadRealMatrixFromFile_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 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.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_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: 13.125625286018476]