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.0008457/0.0008457, allocations: 80.53 kB / 19.92 MB, free: 4.637 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.0008372/0.0008372, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.8434/0.8434, allocations: 158.6 MB / 185 MB, free: 3.059 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.1281/0.1281, allocations: 32.37 MB / 269.6 MB, free: 14.97 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 2.164e-06/2.164e-06, allocations: 0 / 406.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.427e-05, allocations: 2.281 kB / 406.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001429/0.001454, allocations: 0.5024 MB / 407.3 MB, free: 1.773 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008179/0.002272, allocations: 0.8743 MB / 408.2 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.002293, allocations: 0 / 408.2 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.002307, allocations: 0 / 408.2 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.002492, allocations: 8 kB / 408.2 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.00299, allocations: 59.69 kB / 408.2 MB, free: 0.832 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.087e-05/0.003041, allocations: 0 / 408.2 MB, free: 0.832 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.354e-05/0.003075, allocations: 3.984 kB / 408.2 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.818e-05/0.003103, allocations: 8 kB / 408.3 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.56e-05/0.003149, allocations: 0 / 408.3 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.396e-06/0.003157, allocations: 0 / 408.3 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.003263, allocations: 63.81 kB / 408.3 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.674e-06/0.00327, allocations: 0 / 408.3 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.949e-05/0.00329, allocations: 4 kB / 408.3 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.003441, allocations: 59.8 kB / 408.4 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.003443, allocations: 0 / 408.4 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.003444, allocations: 0 / 408.4 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.003449, allocations: 0 / 408.4 MB, free: 0.6953 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.0002721/0.003721, allocations: 284 kB / 408.7 MB, free: 388 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.003758, allocations: 12.03 kB / 408.7 MB, free: 376 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.306e-05/0.003781, allocations: 34.69 kB / 408.7 MB, free: 332 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.331e-05/0.003804, allocations: 4.922 kB / 408.7 MB, free: 328 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.161e-05/0.003876, allocations: 105.8 kB / 408.8 MB, free: 196 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.003884, allocations: 384 / 408.8 MB, free: 196 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.563e-06/0.003891, allocations: 384 / 408.8 MB, free: 196 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.277e-05/0.003963, allocations: 55.97 kB / 408.9 MB, free: 128 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.00397, allocations: 192 / 408.9 MB, free: 128 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.003977, allocations: 384 / 408.9 MB, free: 128 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.003982, allocations: 4.125 kB / 408.9 MB, free: 124 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.321e-05/0.004005, allocations: 41.62 kB / 408.9 MB, free: 76 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001055/0.00411, allocations: 120.8 kB / 409 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.23e-05/0.004153, allocations: 48.31 kB / 409.1 MB, free: 15.85 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.782e-05/0.004171, allocations: 30.56 kB / 409.1 MB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.004176, allocations: 0 / 409.1 MB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.004206, allocations: 60.33 kB / 409.2 MB, free: 15.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.004206, allocations: 0 / 409.2 MB, free: 15.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001504/0.004357, allocations: 122.7 kB / 409.3 MB, free: 15.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.004392, allocations: 81.05 kB / 409.4 MB, free: 15.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.871e-05/0.00444, allocations: 102 kB / 409.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.004449, allocations: 33.64 kB / 409.5 MB, free: 15.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.309e-05/0.004472, allocations: 80.14 kB / 409.6 MB, free: 15.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.199e-05/0.004484, allocations: 0 / 409.6 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.004505, allocations: 13.72 kB / 409.6 MB, free: 15.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.698e-05/0.004572, allocations: 310.8 kB / 409.9 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.004587, allocations: 29.7 kB / 409.9 MB, free: 14.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.231e-05/0.004599, allocations: 29.7 kB / 410 MB, free: 14.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.319e-05/0.004632, allocations: 64.27 kB / 410 MB, free: 14.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.004635, allocations: 3.984 kB / 410 MB, free: 14.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.271e-05/0.004687, allocations: 93.23 kB / 410.1 MB, free: 14.67 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.004711, allocations: 29.7 kB / 410.1 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.004714, allocations: 0 / 410.1 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.004724, allocations: 0 / 410.1 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.214e-06/0.004726, allocations: 7.938 kB / 410.1 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.00473, allocations: 0 / 410.1 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.465e-05/0.004745, allocations: 3.984 kB / 410.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.004751, allocations: 0 / 410.2 MB, free: 14.62 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 5.951e-05/0.00481, allocations: 139.5 kB / 410.3 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-06/0.004814, allocations: 0 / 410.3 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.706e-06/0.004823, allocations: 7.031 kB / 410.3 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.004824, allocations: 0 / 410.3 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.004829, allocations: 3.938 kB / 410.3 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.004831, allocations: 0 / 410.3 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.702e-05/0.004888, allocations: 124.7 kB / 410.4 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.004889, allocations: 0 / 410.4 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.5e-07/0.004889, allocations: 0 / 410.4 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.00489, allocations: 0 / 410.4 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.004896, allocations: 4 kB / 410.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.004896, allocations: 0 / 410.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.004898, allocations: 3.938 kB / 410.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.139e-05/0.004969, allocations: 128.4 kB / 410.6 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-06/0.004973, allocations: 3.938 kB / 410.6 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.096e-06/0.004981, allocations: 0 / 410.6 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-06/0.004989, allocations: 4 kB / 410.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-06/0.004998, allocations: 3.938 kB / 410.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.005, allocations: 0 / 410.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.107e-05/0.005021, allocations: 79.22 kB / 410.6 MB, free: 14.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005021, allocations: 0 / 410.6 MB, free: 14.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001414/0.005163, allocations: 27.92 kB / 410.7 MB, free: 14.02 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.0004145/0.005577, allocations: 0.7437 MB / 411.4 MB, free: 13.24 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.265e-05/0.00566, allocations: 114.8 kB / 411.5 MB, free: 13.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.005662, allocations: 4.094 kB / 411.5 MB, free: 13.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.406e-05/0.005686, allocations: 81.11 kB / 411.6 MB, free: 13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001023/0.005788, allocations: 11.22 kB / 411.6 MB, free: 13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002453/0.006033, allocations: 136.2 kB / 411.8 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.408e-05/0.006067, allocations: 55.36 kB / 411.8 MB, free: 12.74 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.346e-06/0.006076, allocations: 3.984 kB / 411.8 MB, free: 12.74 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.006097, allocations: 12.5 kB / 411.8 MB, free: 12.73 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.006097, allocations: 0 / 411.8 MB, free: 12.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.02019, allocations: 2.168 MB / 414 MB, free: 10.53 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.575/6.595, allocations: 11.94 kB / 414 MB, free: 10.52 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.404825245961547]