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.001306/0.001306, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001393/0.001393, allocations: 213.6 kB / 23.75 MB, free: 4.668 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.001606/0.001606, allocations: 51.92 kB / 377.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2546, allocations: 53.37 MB / 431.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.002304/0.2569, allocations: 0.5255 MB / 431.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002789/0.2597, allocations: 1.953 MB / 433.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.789e-05/0.2597, allocations: 0 / 433.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002533/0.2623, allocations: 166.3 kB / 433.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.847e-05/0.2624, allocations: 23.91 kB / 433.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.2626, allocations: 47.81 kB / 433.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.2627, allocations: 51.83 kB / 433.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.2628, allocations: 0 / 433.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.2629, allocations: 23.92 kB / 433.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.263, allocations: 31.84 kB / 433.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.263, allocations: 4 kB / 433.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.773e-05/0.2631, allocations: 23.92 kB / 434 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.2632, allocations: 43.89 kB / 434 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.012e-05/0.2633, allocations: 35.73 kB / 434 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.2635, allocations: 101.2 kB / 434.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2635, allocations: 0 / 434.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2635, allocations: 0 / 434.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.2635, allocations: 0 / 434.1 MB, free: 3.875 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.0007729/0.2643, allocations: 415.2 kB / 434.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.2644, allocations: 8.031 kB / 434.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.713e-05/0.2644, allocations: 42.75 kB / 434.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.239e-05/0.2645, allocations: 12.89 kB / 434.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.2648, allocations: 195.1 kB / 434.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.2648, allocations: 384 / 434.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.2649, allocations: 384 / 434.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.265, allocations: 78.05 kB / 434.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.265, allocations: 4 kB / 434.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.265, allocations: 0 / 434.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.265, allocations: 0 / 434.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.17e-05/0.2651, allocations: 4 kB / 434.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/0.2655, allocations: 172.7 kB / 435 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.956e-05/0.2656, allocations: 26.52 kB / 435.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.2656, allocations: 4.859 kB / 435.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.2656, allocations: 4 kB / 435.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.632e-05/0.2657, allocations: 64.27 kB / 435.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.2657, allocations: 3.938 kB / 435.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.00019/0.2658, allocations: 53.59 kB / 435.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.266, allocations: 162.2 kB / 435.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.2663, allocations: 211.8 kB / 435.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.2663, allocations: 29.7 kB / 435.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.807e-05/0.2664, allocations: 116.2 kB / 435.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.2664, allocations: 4 kB / 435.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.2665, allocations: 17.7 kB / 435.7 MB, free: 2.047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.2667, allocations: 330.8 kB / 436.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.2667, allocations: 0 / 436.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-05/0.2668, allocations: 44.28 kB / 436.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.244e-05/0.2668, allocations: 16.92 kB / 436.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2668, allocations: 0 / 436.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001437/0.267, allocations: 61.47 kB / 436.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.267, allocations: 8 kB / 436.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.267, allocations: 0 / 436.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.267, allocations: 0 / 436.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.157e-05/0.267, allocations: 4 kB / 436.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.267, allocations: 0 / 436.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.2672, allocations: 8 kB / 436.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.2672, allocations: 0 / 436.2 MB, free: 1.551 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.0001348/0.2673, allocations: 129.9 kB / 436.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/0.2674, allocations: 27.83 kB / 436.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.76e-05/0.2674, allocations: 16.45 kB / 436.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2674, allocations: 0 / 436.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2674, allocations: 0 / 436.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2674, allocations: 0 / 436.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.2677, allocations: 160.7 kB / 436.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.2677, allocations: 4 kB / 436.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.2677, allocations: 3.938 kB / 436.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2677, allocations: 4 kB / 436.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.2677, allocations: 0 / 436.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.2677, allocations: 4 kB / 436.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2677, allocations: 0 / 436.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.2679, allocations: 84.97 kB / 436.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.268, allocations: 39.88 kB / 436.7 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.2681, allocations: 3.938 kB / 436.7 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.2682, allocations: 12.09 kB / 436.7 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.2682, allocations: 0 / 436.7 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-06/0.2682, allocations: 0 / 436.7 MB, free: 1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002987/0.2685, allocations: 165.4 kB / 436.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2685, allocations: 0 / 436.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003542/0.2689, allocations: 16 kB / 436.8 MB, free: 0.8242 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.0008475/0.2697, allocations: 0.6677 MB / 437.5 MB, free: 148 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.425e-05/0.2698, allocations: 8 kB / 437.5 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.2698, allocations: 4.156 kB / 437.5 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.111e-05/0.2698, allocations: 4 kB / 437.5 MB, free: 132 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.2701, allocations: 19.98 kB / 437.6 MB, free: 112 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.2729, allocations: 1.791 MB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.2733, allocations: 0.7084 MB / 440.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.2734, allocations: 36.58 kB / 440.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.2736, allocations: 67.38 kB / 440.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2736, allocations: 0 / 440.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04143/0.315, allocations: 3.838 MB / 444 MB, free: 9.656 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.15, allocations: 7.812 kB / 444 MB, free: 9.652 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.535392238991335]