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.001654/0.001654, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001383/0.001383, allocations: 206.9 kB / 23.73 MB, free: 4.379 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.382/1.382, allocations: 230.6 MB / 257.5 MB, free: 7.781 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="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 0.001465/0.001465, allocations: 43.92 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2398, allocations: 53.37 MB / 431.1 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001803/0.2416, allocations: 0.52 MB / 431.6 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.2441, allocations: 1.91 MB / 433.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.615e-05/0.2441, allocations: 0 / 433.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.2464, allocations: 162.6 kB / 433.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.765e-05/0.2464, allocations: 27.91 kB / 433.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.2466, allocations: 47.88 kB / 433.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.2467, allocations: 43.83 kB / 433.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.2468, allocations: 4 kB / 433.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.362e-05/0.2469, allocations: 39.84 kB / 433.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.316e-05/0.2469, allocations: 15.92 kB / 433.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.247, allocations: 0 / 433.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.026e-05/0.247, allocations: 19.98 kB / 433.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.775e-05/0.2471, allocations: 55.83 kB / 433.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.893e-05/0.2472, allocations: 27.8 kB / 433.9 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.2474, allocations: 105.2 kB / 434 MB, free: 3.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2474, allocations: 0 / 434 MB, free: 3.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2474, allocations: 0 / 434 MB, free: 3.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.966e-06/0.2474, allocations: 0 / 434 MB, free: 3.828 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.0005821/0.248, allocations: 415.3 kB / 434.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.248, allocations: 8.031 kB / 434.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.248, allocations: 38.75 kB / 434.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.2481, allocations: 8.891 kB / 434.5 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.2484, allocations: 187.1 kB / 434.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-06/0.2484, allocations: 4.312 kB / 434.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.2484, allocations: 4.375 kB / 434.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.2486, allocations: 172.9 kB / 434.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.2486, allocations: 3.938 kB / 434.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2486, allocations: 0 / 434.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.2486, allocations: 4 kB / 434.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.862e-05/0.2486, allocations: 11.92 kB / 434.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.2489, allocations: 172.7 kB / 435 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.155e-05/0.249, allocations: 22.58 kB / 435.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.249, allocations: 8.922 kB / 435.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.8e-06/0.249, allocations: 0 / 435.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/0.2491, allocations: 64.19 kB / 435.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 2.845e-06/0.2491, allocations: 3.984 kB / 435.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001485/0.2492, allocations: 57.55 kB / 435.2 MB, free: 2.473 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00018/0.2494, allocations: 154.3 kB / 435.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.2496, allocations: 219.8 kB / 435.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.2497, allocations: 25.7 kB / 435.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.545e-05/0.2497, allocations: 116.1 kB / 435.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.2498, allocations: 4 kB / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.2498, allocations: 13.72 kB / 435.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.25, allocations: 326.8 kB / 436 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.25, allocations: 4 kB / 436 MB, free: 1.555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.999e-05/0.2501, allocations: 147.1 kB / 436.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.817e-05/0.2502, allocations: 12.86 kB / 436.2 MB, free: 1.355 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2502, allocations: 8.062 kB / 436.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.474e-05/0.2502, allocations: 65.47 kB / 436.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.2503, allocations: 4 kB / 436.3 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.2503, allocations: 3.938 kB / 436.3 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.2503, allocations: 0 / 436.3 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.726e-05/0.2503, allocations: 4 kB / 436.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.2503, allocations: 0 / 436.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.792e-05/0.2504, allocations: 11.98 kB / 436.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.2504, allocations: 0 / 436.3 MB, free: 1.254 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.0001059/0.2505, allocations: 129.8 kB / 436.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.2506, allocations: 23.88 kB / 436.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.2506, allocations: 20.44 kB / 436.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.2506, allocations: 0 / 436.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2506, allocations: 0 / 436.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.2506, allocations: 0 / 436.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.2508, allocations: 160.7 kB / 436.6 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2508, allocations: 0 / 436.6 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.661e-05/0.2508, allocations: 3.938 kB / 436.6 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.2508, allocations: 3.984 kB / 436.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.2508, allocations: 4 kB / 436.6 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2508, allocations: 7.938 kB / 436.6 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2508, allocations: 3.938 kB / 436.6 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.251, allocations: 77.03 kB / 436.7 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.172e-05/0.251, allocations: 35.89 kB / 436.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.2511, allocations: 4 kB / 436.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.701e-05/0.2512, allocations: 4 kB / 436.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.2512, allocations: 7.984 kB / 436.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.2512, allocations: 0 / 436.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001583/0.2513, allocations: 161.5 kB / 436.9 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2513, allocations: 0 / 436.9 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002088/0.2515, allocations: 20.08 kB / 436.9 MB, free: 0.5312 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.0006599/0.2522, allocations: 0.6671 MB / 437.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.183e-05/0.2523, allocations: 16.08 kB / 437.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2523, allocations: 7.938 kB / 437.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.295e-06/0.2523, allocations: 0 / 437.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.2525, allocations: 16 kB / 437.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.2543, allocations: 1.791 MB / 439.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.184e-05/0.2544, allocations: 101 kB / 439.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.157e-05/0.2545, allocations: 32.58 kB / 439.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.2546, allocations: 63.56 kB / 439.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2546, allocations: 4 kB / 439.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03395/0.2885, allocations: 4.368 MB / 444 MB, free: 9.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.74, allocations: 0 / 444 MB, free: 9.445 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.153906577994348]