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.001515/0.001515, allocations: 81.86 kB / 21.44 MB, free: 3.062 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.001405/0.001405, allocations: 162.7 kB / 24.84 MB, free: 8.867 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 1.018/1.018, allocations: 158.6 MB / 186.7 MB, free: 2.82 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.1338/0.1338, allocations: 32.36 MB / 271.5 MB, free: 2.461 MB / 250.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: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 348.9 MB, free: 4.852 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.231e-05, allocations: 10.19 kB / 348.9 MB, free: 4.84 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001348/0.00138, allocations: 0.4991 MB / 349.4 MB, free: 4.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009159/0.002296, allocations: 0.9007 MB / 350.3 MB, free: 3.438 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.945e-05/0.002325, allocations: 0 / 350.3 MB, free: 3.438 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.002341, allocations: 0 / 350.3 MB, free: 3.438 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.00255, allocations: 11.94 kB / 350.3 MB, free: 3.426 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005511/0.003102, allocations: 59.78 kB / 350.4 MB, free: 3.367 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 6.276e-05/0.003164, allocations: 7.938 kB / 350.4 MB, free: 3.359 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.00321, allocations: 0 / 350.4 MB, free: 3.359 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.191e-05/0.003241, allocations: 3.984 kB / 350.4 MB, free: 3.355 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.113e-05/0.003283, allocations: 4 kB / 350.4 MB, free: 3.352 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.785e-06/0.00329, allocations: 4 kB / 350.4 MB, free: 3.348 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.0034, allocations: 59.83 kB / 350.4 MB, free: 3.289 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.747e-06/0.003408, allocations: 3.984 kB / 350.4 MB, free: 3.285 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.227e-05/0.003421, allocations: 0 / 350.4 MB, free: 3.285 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.003558, allocations: 63.86 kB / 350.5 MB, free: 3.223 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003559, allocations: 0 / 350.5 MB, free: 3.223 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.00356, allocations: 3.938 kB / 350.5 MB, free: 3.219 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.003565, allocations: 0 / 350.5 MB, free: 3.219 MB / 330.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.0002808/0.003846, allocations: 378.3 kB / 350.9 MB, free: 2.805 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.003881, allocations: 8.031 kB / 350.9 MB, free: 2.797 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.003909, allocations: 4.938 kB / 350.9 MB, free: 2.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.396e-05/0.003993, allocations: 112.6 kB / 351 MB, free: 2.656 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.004003, allocations: 384 / 351 MB, free: 2.656 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-06/0.00401, allocations: 4.375 kB / 351 MB, free: 2.652 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.963e-05/0.00408, allocations: 55.97 kB / 351.1 MB, free: 2.586 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.004087, allocations: 4.172 kB / 351.1 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.004093, allocations: 384 / 351.1 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.004097, allocations: 384 / 351.1 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.574e-05/0.004113, allocations: 33.64 kB / 351.1 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.544e-05/0.004189, allocations: 89.27 kB / 351.2 MB, free: 2.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.48e-05/0.004233, allocations: 60.73 kB / 351.2 MB, free: 2.352 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.004247, allocations: 33.39 kB / 351.3 MB, free: 2.309 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-06/0.004251, allocations: 64 / 351.3 MB, free: 2.309 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.00428, allocations: 67.08 kB / 351.3 MB, free: 2.227 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 6.02e-07/0.004281, allocations: 0 / 351.3 MB, free: 2.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.000138/0.004419, allocations: 118.8 kB / 351.5 MB, free: 2.086 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.004451, allocations: 77.11 kB / 351.5 MB, free: 1.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.304e-05/0.004514, allocations: 157.9 kB / 351.7 MB, free: 1.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.004523, allocations: 29.64 kB / 351.7 MB, free: 1.785 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.004556, allocations: 127.1 kB / 351.8 MB, free: 1.656 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.00457, allocations: 4 kB / 351.8 MB, free: 1.652 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.004592, allocations: 19.38 kB / 351.9 MB, free: 1.625 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.004706, allocations: 496.1 kB / 352.4 MB, free: 1.129 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.004723, allocations: 25.7 kB / 352.4 MB, free: 1.098 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.377e-05/0.004736, allocations: 29.7 kB / 352.4 MB, free: 1.062 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.905e-05/0.004775, allocations: 71.08 kB / 352.5 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.004777, allocations: 3.938 kB / 352.5 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.58e-05/0.004843, allocations: 85.11 kB / 352.6 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.004869, allocations: 29.7 kB / 352.6 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.004875, allocations: 8.078 kB / 352.6 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.243e-06/0.004882, allocations: 0 / 352.6 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.004883, allocations: 3.938 kB / 352.6 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.004889, allocations: 7.984 kB / 352.6 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.061e-05/0.004899, allocations: 0 / 352.6 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.004905, allocations: 3.938 kB / 352.6 MB, free: 0.8125 MB / 330.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 6.64e-05/0.004972, allocations: 186.3 kB / 352.8 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-06/0.004978, allocations: 3.984 kB / 352.8 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.566e-06/0.004986, allocations: 3 kB / 352.8 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.004988, allocations: 0 / 352.8 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.004989, allocations: 4 kB / 352.8 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.004992, allocations: 4 kB / 352.8 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.937e-05/0.005051, allocations: 97.19 kB / 352.9 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.005052, allocations: 0 / 352.9 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-07/0.005052, allocations: 0 / 352.9 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.005053, allocations: 0 / 352.9 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-06/0.005057, allocations: 4 kB / 352.9 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.005059, allocations: 4 kB / 352.9 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.00506, allocations: 0 / 352.9 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.212e-05/0.005142, allocations: 135.7 kB / 353 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-06/0.005148, allocations: 11.98 kB / 353.1 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-06/0.005158, allocations: 4 kB / 353.1 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.368e-06/0.005162, allocations: 0 / 353.1 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.255e-06/0.005171, allocations: 0 / 353.1 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.005173, allocations: 0 / 353.1 MB, free: 296 kB / 330.7 MB Notification: Performance of sorting global known variables: time 2.836e-05/0.005201, allocations: 123.2 kB / 353.2 MB, free: 172 kB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005201, allocations: 0 / 353.2 MB, free: 172 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.000141/0.005342, allocations: 23.92 kB / 353.2 MB, free: 148 kB / 330.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.1253/0.1306, allocations: 192.3 kB / 353.4 MB, free: 66.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.1308, allocations: 116.8 kB / 353.5 MB, free: 65.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1308, allocations: 0 / 353.5 MB, free: 65.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.981e-05/0.1308, allocations: 92.5 kB / 353.6 MB, free: 65.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.1309, allocations: 9.859 kB / 353.6 MB, free: 65.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001657/0.1311, allocations: 109 kB / 353.7 MB, free: 65.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.166e-05/0.1311, allocations: 54.25 kB / 353.8 MB, free: 65.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.915e-06/0.1311, allocations: 2.547 kB / 353.8 MB, free: 65.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.1311, allocations: 73.03 kB / 353.8 MB, free: 65.61 MB / 330.7 MB Notification: Performance of SimCode: time 1.373e-06/0.1311, allocations: 0 / 353.8 MB, free: 65.61 MB / 330.7 MB Notification: Performance of Templates: time 0.002882/0.134, allocations: 0.7749 MB / 354.6 MB, free: 65.6 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.271232150029391]