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.001347/0.001347, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001794/0.001794, allocations: 205.4 kB / 23.72 MB, free: 4.391 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.464/1.464, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.002123/0.002123, allocations: 67.89 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2979, allocations: 53.41 MB / 431.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.002075/0.3, allocations: 0.5162 MB / 431.6 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003245/0.3032, allocations: 1.914 MB / 433.6 MB, free: 4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.036e-05/0.3033, allocations: 8 kB / 433.6 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002305/0.3056, allocations: 149.5 kB / 433.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.702e-05/0.3057, allocations: 23.91 kB / 433.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.3059, allocations: 50.81 kB / 433.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.306, allocations: 47.91 kB / 433.8 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.3061, allocations: 3.984 kB / 433.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.322e-05/0.3062, allocations: 31.91 kB / 433.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.691e-05/0.3063, allocations: 31.78 kB / 433.9 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.3063, allocations: 0 / 433.9 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.19e-05/0.3063, allocations: 12 kB / 433.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.3064, allocations: 51.89 kB / 434 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.3065, allocations: 31.73 kB / 434 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.3068, allocations: 101.2 kB / 434.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3068, allocations: 0 / 434.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3068, allocations: 4 kB / 434.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.3068, allocations: 0 / 434.1 MB, free: 3.496 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.0006594/0.3074, allocations: 415.2 kB / 434.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3075, allocations: 11.98 kB / 434.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.099e-05/0.3075, allocations: 34.75 kB / 434.5 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.3076, allocations: 8.891 kB / 434.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.3079, allocations: 187.1 kB / 434.7 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3079, allocations: 4.375 kB / 434.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.3079, allocations: 384 / 434.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.3082, allocations: 180.8 kB / 434.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3082, allocations: 4 kB / 434.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.3082, allocations: 11.94 kB / 434.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3082, allocations: 0 / 434.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.828e-05/0.3082, allocations: 4 kB / 434.9 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.3086, allocations: 172.7 kB / 435.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.759e-05/0.3087, allocations: 26.5 kB / 435.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.3087, allocations: 8.922 kB / 435.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.3087, allocations: 0 / 435.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/0.3088, allocations: 60.2 kB / 435.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.3088, allocations: 0 / 435.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001999/0.309, allocations: 61.59 kB / 435.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.3091, allocations: 158.2 kB / 435.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.3094, allocations: 211.8 kB / 435.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.3094, allocations: 29.7 kB / 435.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.3095, allocations: 112.1 kB / 435.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.3095, allocations: 4 kB / 435.8 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.3096, allocations: 17.72 kB / 435.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3097, allocations: 326.8 kB / 436.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.3097, allocations: 4 kB / 436.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.3099, allocations: 147.1 kB / 436.2 MB, free: 1.035 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.697e-05/0.3099, allocations: 17.05 kB / 436.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3099, allocations: 0 / 436.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001173/0.31, allocations: 61.48 kB / 436.3 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.31, allocations: 4 kB / 436.3 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.31, allocations: 3.984 kB / 436.3 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3101, allocations: 0 / 436.3 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.476e-05/0.3101, allocations: 4 kB / 436.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3101, allocations: 0 / 436.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.952e-05/0.3102, allocations: 8 kB / 436.3 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.3102, allocations: 0 / 436.3 MB, free: 0.9297 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.0001302/0.3103, allocations: 134.5 kB / 436.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.3104, allocations: 19.84 kB / 436.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.3104, allocations: 20.48 kB / 436.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3104, allocations: 0 / 436.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3104, allocations: 0 / 436.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3104, allocations: 3.938 kB / 436.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.3107, allocations: 160.7 kB / 436.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3107, allocations: 48 / 436.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.3107, allocations: 7.922 kB / 436.7 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3107, allocations: 0 / 436.7 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.3107, allocations: 8 kB / 436.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3107, allocations: 0 / 436.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3107, allocations: 4 kB / 436.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.3109, allocations: 80.91 kB / 436.8 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.3109, allocations: 35.89 kB / 436.8 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.311, allocations: 7.984 kB / 436.8 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.159e-05/0.3111, allocations: 8 kB / 436.8 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.3111, allocations: 0 / 436.8 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.3111, allocations: 4 kB / 436.8 MB, free: 384 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001809/0.3113, allocations: 169.4 kB / 437 MB, free: 216 kB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3113, allocations: 4.094 kB / 437 MB, free: 212 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002107/0.3115, allocations: 12 kB / 437 MB, free: 200 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.0008166/0.3123, allocations: 0.6683 MB / 437.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.3124, allocations: 12 kB / 437.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3124, allocations: 0 / 437.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-05/0.3124, allocations: 4 kB / 437.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.3126, allocations: 14.75 kB / 437.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.3146, allocations: 1.791 MB / 439.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.327e-05/0.3147, allocations: 97.03 kB / 439.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.962e-05/0.3148, allocations: 44.75 kB / 439.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.3149, allocations: 71.36 kB / 439.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3149, allocations: 0 / 439.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.038/0.3529, allocations: 4.316 MB / 444 MB, free: 9.117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.57, allocations: 0 / 444 MB, free: 9.117 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.257243240252137]