Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.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.0008617/0.0008617, allocations: 75.7 kB / 20.01 MB, free: 4.508 MB / 18.57 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.001265/0.001265, allocations: 169.9 kB / 23.32 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8796/0.8796, allocations: 158.6 MB / 185.1 MB, free: 3.004 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1328/0.1328, allocations: 32.37 MB / 269.7 MB, free: 14.91 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 407 MB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.52e-05, allocations: 6.078 kB / 407 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001219/0.001244, allocations: 0.5025 MB / 407.5 MB, free: 1.668 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.002494, allocations: 0.8705 MB / 408.4 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.944e-05/0.002523, allocations: 4 kB / 408.4 MB, free: 0.793 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.002542, allocations: 3.938 kB / 408.4 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.002775, allocations: 8 kB / 408.4 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006144/0.003389, allocations: 55.75 kB / 408.5 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.659e-05/0.003446, allocations: 4 kB / 408.5 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.298e-05/0.003479, allocations: 3.984 kB / 408.5 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.066e-05/0.00351, allocations: 0 / 408.5 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.983e-05/0.00356, allocations: 4 kB / 408.5 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.985e-06/0.003567, allocations: 3.938 kB / 408.5 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.003672, allocations: 59.88 kB / 408.5 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.815e-06/0.00368, allocations: 0 / 408.5 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.003699, allocations: 4 kB / 408.5 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.003846, allocations: 59.86 kB / 408.6 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.003849, allocations: 0 / 408.6 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.00385, allocations: 0 / 408.6 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.003854, allocations: 0 / 408.6 MB, free: 0.5898 MB / 378.7 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.0003029/0.004157, allocations: 280 kB / 408.9 MB, free: 284 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.004197, allocations: 12.03 kB / 408.9 MB, free: 272 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.38e-05/0.004221, allocations: 30.75 kB / 408.9 MB, free: 232 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.004247, allocations: 4.922 kB / 408.9 MB, free: 228 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.034e-05/0.004327, allocations: 105.7 kB / 409 MB, free: 96 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.004336, allocations: 4.375 kB / 409 MB, free: 92 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.004346, allocations: 4.375 kB / 409 MB, free: 88 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.963e-05/0.004435, allocations: 51.97 kB / 409.1 MB, free: 24 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.004443, allocations: 4.125 kB / 409.1 MB, free: 20 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.004452, allocations: 4.375 kB / 409.1 MB, free: 16 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.004459, allocations: 4.125 kB / 409.1 MB, free: 12 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.954e-05/0.004498, allocations: 25.7 kB / 409.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.004619, allocations: 124.8 kB / 409.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.555e-05/0.004674, allocations: 48.22 kB / 409.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.599e-05/0.0047, allocations: 38.64 kB / 409.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.004709, allocations: 4 kB / 409.3 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.004755, allocations: 60.27 kB / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.004756, allocations: 0 / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.000226/0.004982, allocations: 122.8 kB / 409.5 MB, free: 15.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.005047, allocations: 81.05 kB / 409.6 MB, free: 15.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.805e-05/0.005125, allocations: 93.84 kB / 409.7 MB, free: 15.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.005139, allocations: 25.7 kB / 409.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.005169, allocations: 84.14 kB / 409.8 MB, free: 15.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.005193, allocations: 4 kB / 409.8 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.005221, allocations: 17.91 kB / 409.8 MB, free: 15.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.005323, allocations: 314.8 kB / 410.1 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/0.005348, allocations: 25.7 kB / 410.1 MB, free: 14.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.005367, allocations: 25.7 kB / 410.2 MB, free: 14.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.91e-05/0.005416, allocations: 64.27 kB / 410.2 MB, free: 14.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.005419, allocations: 0 / 410.2 MB, free: 14.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.698e-05/0.005496, allocations: 89.09 kB / 410.3 MB, free: 14.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/0.005535, allocations: 33.7 kB / 410.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.005543, allocations: 0 / 410.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.005557, allocations: 96 / 410.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.425e-06/0.00556, allocations: 7.938 kB / 410.4 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.005567, allocations: 0 / 410.4 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.518e-05/0.005592, allocations: 3.938 kB / 410.4 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.005604, allocations: 7.984 kB / 410.4 MB, free: 14.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.645e-05/0.00568, allocations: 131.5 kB / 410.5 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-06/0.005689, allocations: 8 kB / 410.5 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.553e-05/0.005704, allocations: 3 kB / 410.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.005706, allocations: 0 / 410.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.005713, allocations: 3.938 kB / 410.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.005716, allocations: 0 / 410.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.543e-05/0.005791, allocations: 128.7 kB / 410.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.005792, allocations: 0 / 410.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.1e-07/0.005792, allocations: 0 / 410.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.005794, allocations: 0 / 410.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.005802, allocations: 0 / 410.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.005803, allocations: 0 / 410.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.005805, allocations: 3.938 kB / 410.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.00591, allocations: 124.5 kB / 410.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-06/0.005918, allocations: 7.938 kB / 410.8 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.005929, allocations: 0 / 410.8 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.055e-05/0.00594, allocations: 4.031 kB / 410.8 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.00596, allocations: 7.875 kB / 410.8 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.005962, allocations: 4 kB / 410.8 MB, free: 14.01 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.114e-05/0.005993, allocations: 75.28 kB / 410.9 MB, free: 13.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005993, allocations: 0 / 410.9 MB, free: 13.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001606/0.006154, allocations: 27.92 kB / 410.9 MB, free: 13.91 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005641/0.006718, allocations: 0.7393 MB / 411.6 MB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.00684, allocations: 114.8 kB / 411.7 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.006842, allocations: 0 / 411.7 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.661e-05/0.006879, allocations: 89.05 kB / 411.8 MB, free: 12.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.006998, allocations: 3.938 kB / 411.8 MB, free: 12.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.007273, allocations: 140.3 kB / 412 MB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.901e-05/0.007312, allocations: 59.36 kB / 412 MB, free: 12.64 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.506e-06/0.007321, allocations: 7.922 kB / 412 MB, free: 12.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/0.007343, allocations: 8.5 kB / 412 MB, free: 12.62 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.007343, allocations: 0 / 412 MB, free: 12.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.02585, allocations: 2.146 MB / 414.2 MB, free: 10.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.813/6.839, allocations: 15.61 kB / 414.2 MB, free: 10.44 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.csv: Error: Error opening file: ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: [Calling sys.exit(0), Time elapsed: 8.853692972101271]