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.001297/0.001297, allocations: 110 kB / 20.43 MB, free: 1.453 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.00147/0.00147, allocations: 213.3 kB / 23.74 MB, free: 4.66 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.449/1.449, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 55.91 kB / 377.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2431, allocations: 53.4 MB / 431.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001631/0.2447, allocations: 0.5383 MB / 431.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.2472, allocations: 1.952 MB / 433.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.2473, allocations: 0 / 433.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002277/0.2496, allocations: 156.7 kB / 433.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.151e-05/0.2496, allocations: 19.98 kB / 433.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.2498, allocations: 51.8 kB / 433.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.2499, allocations: 51.83 kB / 433.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.25, allocations: 0 / 433.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.52e-05/0.2501, allocations: 35.86 kB / 434 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.846e-05/0.2502, allocations: 19.91 kB / 434 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.2502, allocations: 0 / 434 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.645e-05/0.2502, allocations: 19.98 kB / 434 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.648e-05/0.2503, allocations: 47.84 kB / 434 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.029e-05/0.2504, allocations: 39.72 kB / 434.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.2506, allocations: 99.89 kB / 434.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2506, allocations: 4 kB / 434.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2506, allocations: 0 / 434.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2506, allocations: 7.938 kB / 434.2 MB, free: 3.699 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.0006315/0.2513, allocations: 407.3 kB / 434.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.2513, allocations: 12.03 kB / 434.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.2514, allocations: 34.73 kB / 434.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.2514, allocations: 12.89 kB / 434.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.2517, allocations: 183.1 kB / 434.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-06/0.2517, allocations: 384 / 434.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.2517, allocations: 4.375 kB / 434.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.2519, allocations: 82.03 kB / 434.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.2519, allocations: 0 / 434.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.2519, allocations: 4 kB / 434.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2519, allocations: 8 kB / 434.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.071e-05/0.252, allocations: 0 / 434.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.2524, allocations: 176.7 kB / 435.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.232e-05/0.2524, allocations: 18.58 kB / 435.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.2524, allocations: 8.922 kB / 435.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.2525, allocations: 0 / 435.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.245e-05/0.2525, allocations: 64.14 kB / 435.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.2525, allocations: 0 / 435.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001813/0.2527, allocations: 61.59 kB / 435.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.2528, allocations: 154.2 kB / 435.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.2531, allocations: 219.8 kB / 435.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.2531, allocations: 29.7 kB / 435.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.995e-05/0.2532, allocations: 112.1 kB / 435.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.2532, allocations: 0 / 435.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.2533, allocations: 21.72 kB / 435.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2534, allocations: 322.8 kB / 436.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.2534, allocations: 8.125 kB / 436.1 MB, free: 1.555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.546e-05/0.2535, allocations: 44.22 kB / 436.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.922e-05/0.2535, allocations: 12.86 kB / 436.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2535, allocations: 3.938 kB / 436.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001036/0.2536, allocations: 61.53 kB / 436.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2536, allocations: 6.906 kB / 436.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2536, allocations: 4 kB / 436.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2537, allocations: 0 / 436.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.108e-05/0.2537, allocations: 4 kB / 436.2 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.2537, allocations: 0 / 436.2 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.203e-05/0.2538, allocations: 8 kB / 436.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.2538, allocations: 0 / 436.2 MB, free: 1.391 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.0001201/0.2539, allocations: 137.8 kB / 436.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.2539, allocations: 19.84 kB / 436.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.254, allocations: 16.45 kB / 436.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.254, allocations: 4 kB / 436.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.254, allocations: 3.984 kB / 436.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.254, allocations: 0 / 436.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.2542, allocations: 164.7 kB / 436.6 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2542, allocations: 0 / 436.6 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-05/0.2542, allocations: 3.938 kB / 436.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.2542, allocations: 3.984 kB / 436.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.2542, allocations: 4 kB / 436.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-06/0.2542, allocations: 0 / 436.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2542, allocations: 0 / 436.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.2544, allocations: 81.03 kB / 436.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.939e-05/0.2545, allocations: 35.89 kB / 436.7 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.2545, allocations: 4 kB / 436.7 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.097e-05/0.2546, allocations: 8 kB / 436.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.2546, allocations: 7.922 kB / 436.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.2546, allocations: 7.938 kB / 436.7 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.2548, allocations: 165.5 kB / 436.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2548, allocations: 4 kB / 436.9 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00021/0.255, allocations: 11.98 kB / 436.9 MB, free: 0.6523 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.0007417/0.2557, allocations: 0.6618 MB / 437.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.723e-05/0.2558, allocations: 11.98 kB / 437.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2558, allocations: 7.938 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.18e-05/0.2558, allocations: 4 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.256, allocations: 12 kB / 437.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.258, allocations: 1.791 MB / 439.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.2583, allocations: 0.7084 MB / 440.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.897e-05/0.2584, allocations: 40.58 kB / 440.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.2585, allocations: 63.38 kB / 440.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2585, allocations: 0 / 440.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03519/0.2937, allocations: 3.821 MB / 444 MB, free: 9.469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.09, allocations: 9.453 kB / 444 MB, free: 9.469 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 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.csv","/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.635527161000937]