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.001442/0.001442, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001599/0.001599, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.389/1.389, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.001446/0.001446, allocations: 47.92 kB / 378.5 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2282, allocations: 53.36 MB / 431.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001603/0.2298, allocations: 0.5272 MB / 432.4 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.2324, allocations: 1.91 MB / 434.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.2324, allocations: 0 / 434.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.2348, allocations: 160.5 kB / 434.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.182e-05/0.2348, allocations: 23.95 kB / 434.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.235, allocations: 39.89 kB / 434.5 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.2351, allocations: 51.83 kB / 434.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.353e-05/0.2352, allocations: 3.938 kB / 434.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.966e-05/0.2352, allocations: 31.91 kB / 434.6 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.2353, allocations: 23.92 kB / 434.6 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.2353, allocations: 0 / 434.6 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-05/0.2354, allocations: 15.98 kB / 434.6 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.2355, allocations: 63.75 kB / 434.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.523e-05/0.2356, allocations: 27.81 kB / 434.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.2358, allocations: 101.6 kB / 434.8 MB, free: 3.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2358, allocations: 4 kB / 434.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2358, allocations: 0 / 434.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.2358, allocations: 0 / 434.8 MB, free: 3.707 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.0005924/0.2364, allocations: 411.3 kB / 435.2 MB, free: 3.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2364, allocations: 8.031 kB / 435.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.734e-05/0.2365, allocations: 4.188 kB / 435.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.2365, allocations: 38.69 kB / 435.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.2365, allocations: 8.891 kB / 435.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.2368, allocations: 187.1 kB / 435.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.2368, allocations: 384 / 435.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.2368, allocations: 384 / 435.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.237, allocations: 184.7 kB / 435.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.237, allocations: 0 / 435.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.237, allocations: 3.984 kB / 435.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.237, allocations: 4 kB / 435.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.738e-05/0.237, allocations: 4 kB / 435.6 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.2374, allocations: 176.7 kB / 435.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.038e-05/0.2374, allocations: 14.58 kB / 435.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/0.2375, allocations: 20.78 kB / 435.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.2375, allocations: 3.938 kB / 435.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/0.2375, allocations: 64.27 kB / 435.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2375, allocations: 4 kB / 435.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001572/0.2377, allocations: 45.61 kB / 436 MB, free: 2.355 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.2378, allocations: 158.2 kB / 436.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.238, allocations: 220 kB / 436.3 MB, free: 1.938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.238, allocations: 25.7 kB / 436.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.2381, allocations: 116.1 kB / 436.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.2381, allocations: 0 / 436.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.2382, allocations: 17.72 kB / 436.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2383, allocations: 322.8 kB / 436.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.2383, allocations: 15.92 kB / 436.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.2384, allocations: 139.1 kB / 437 MB, free: 1.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.478e-05/0.2385, allocations: 20.84 kB / 437 MB, free: 1.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2385, allocations: 0 / 437 MB, free: 1.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.866e-05/0.2386, allocations: 61.55 kB / 437 MB, free: 1.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2386, allocations: 4 kB / 437 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2386, allocations: 0 / 437 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2386, allocations: 0 / 437 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.562e-05/0.2386, allocations: 11.92 kB / 437.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.2387, allocations: 0 / 437.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.2388, allocations: 12 kB / 437.1 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.2388, allocations: 0 / 437.1 MB, free: 1.133 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.0001051/0.2389, allocations: 125.8 kB / 437.2 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.2389, allocations: 19.84 kB / 437.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/0.2389, allocations: 28.47 kB / 437.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2389, allocations: 0 / 437.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2389, allocations: 0 / 437.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2389, allocations: 0 / 437.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.2392, allocations: 164.7 kB / 437.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.2392, allocations: 3.938 kB / 437.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.538e-05/0.2392, allocations: 0 / 437.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2392, allocations: 0 / 437.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.2392, allocations: 4 kB / 437.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2392, allocations: 0 / 437.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2392, allocations: 0 / 437.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.2393, allocations: 84.97 kB / 437.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.2394, allocations: 31.89 kB / 437.5 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.2394, allocations: 4 kB / 437.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.992e-05/0.2395, allocations: 11.98 kB / 437.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-06/0.2395, allocations: 0 / 437.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.2395, allocations: 3.938 kB / 437.5 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001648/0.2397, allocations: 169.4 kB / 437.7 MB, free: 436 kB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2397, allocations: 0 / 437.7 MB, free: 436 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002104/0.2399, allocations: 12 kB / 437.7 MB, free: 424 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.0006899/0.2406, allocations: 0.6631 MB / 438.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.035e-05/0.2407, allocations: 19.92 kB / 438.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2407, allocations: 4.156 kB / 438.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.586e-06/0.2407, allocations: 4 kB / 438.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.2409, allocations: 15.94 kB / 438.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.2428, allocations: 1.791 MB / 440.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.266e-05/0.2429, allocations: 105 kB / 440.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.133e-05/0.243, allocations: 36.58 kB / 440.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.2431, allocations: 67.38 kB / 440.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2431, allocations: 128 / 440.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.2723, allocations: 3.993 MB / 444.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.64, allocations: 6.812 kB / 444.4 MB, free: 9.707 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.100995137006976]