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.001915/0.001915, allocations: 84.23 kB / 20.21 MB, free: 4.227 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.002245/0.002245, allocations: 157.6 kB / 23.52 MB, free: 0.918 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.545/1.545, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] 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.2231/0.2231, allocations: 32.38 MB / 270 MB, free: 14.77 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: 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 2.154e-06/2.154e-06, allocations: 0 / 346.9 MB, free: 9.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.353e-05, allocations: 2.312 kB / 346.9 MB, free: 9.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001357/0.00139, allocations: 0.4986 MB / 347.4 MB, free: 9.348 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008816/0.002272, allocations: 0.8823 MB / 348.3 MB, free: 8.465 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.432e-05/0.002296, allocations: 4 kB / 348.3 MB, free: 8.461 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.08e-05/0.002307, allocations: 4 kB / 348.3 MB, free: 8.457 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.002491, allocations: 0 / 348.3 MB, free: 8.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005944/0.003085, allocations: 71.19 kB / 348.4 MB, free: 8.395 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.878e-05/0.003134, allocations: 11.92 kB / 348.4 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.557e-05/0.00316, allocations: 0 / 348.4 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.695e-05/0.003187, allocations: 3.984 kB / 348.4 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.234e-05/0.003239, allocations: 4 kB / 348.4 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-06/0.003247, allocations: 0 / 348.4 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.00336, allocations: 51.95 kB / 348.4 MB, free: 8.324 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.216e-06/0.003368, allocations: 4 kB / 348.4 MB, free: 8.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.003391, allocations: 0 / 348.4 MB, free: 8.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.003539, allocations: 63.8 kB / 348.5 MB, free: 8.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003541, allocations: 0 / 348.5 MB, free: 8.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003541, allocations: 0 / 348.5 MB, free: 8.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.003545, allocations: 0 / 348.5 MB, free: 8.258 MB / 282.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.0002611/0.003806, allocations: 279.9 kB / 348.8 MB, free: 7.945 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.003837, allocations: 8.031 kB / 348.8 MB, free: 7.938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.003877, allocations: 4.938 kB / 348.8 MB, free: 7.934 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.331e-05/0.00394, allocations: 105.8 kB / 348.9 MB, free: 7.805 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.003952, allocations: 384 / 348.9 MB, free: 7.805 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.00396, allocations: 8.375 kB / 348.9 MB, free: 7.797 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.216e-05/0.004042, allocations: 55.95 kB / 348.9 MB, free: 7.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.004052, allocations: 192 / 348.9 MB, free: 7.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.00406, allocations: 384 / 348.9 MB, free: 7.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.004065, allocations: 8.312 kB / 349 MB, free: 7.723 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.115e-05/0.004086, allocations: 29.64 kB / 349 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.986e-05/0.004176, allocations: 97.36 kB / 349.1 MB, free: 7.562 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.898e-05/0.004225, allocations: 48.28 kB / 349.1 MB, free: 7.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.004244, allocations: 34.62 kB / 349.2 MB, free: 7.457 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.004256, allocations: 3.984 kB / 349.2 MB, free: 7.453 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.00429, allocations: 64.25 kB / 349.2 MB, free: 7.375 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.00429, allocations: 0 / 349.2 MB, free: 7.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002032/0.004494, allocations: 122.8 kB / 349.3 MB, free: 7.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.004527, allocations: 81.09 kB / 349.4 MB, free: 7.133 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.596e-05/0.004583, allocations: 93.8 kB / 349.5 MB, free: 7.031 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/0.004589, allocations: 25.7 kB / 349.5 MB, free: 7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.696e-05/0.004606, allocations: 84.14 kB / 349.6 MB, free: 6.914 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.004622, allocations: 3.953 kB / 349.6 MB, free: 6.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.004646, allocations: 9.719 kB / 349.6 MB, free: 6.895 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.839e-05/0.004715, allocations: 319.1 kB / 350 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.004733, allocations: 29.7 kB / 350 MB, free: 6.539 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.38e-05/0.004746, allocations: 29.69 kB / 350 MB, free: 6.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.455e-05/0.004781, allocations: 64.2 kB / 350.1 MB, free: 6.426 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.004783, allocations: 0 / 350.1 MB, free: 6.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.028e-05/0.004843, allocations: 89.11 kB / 350.2 MB, free: 6.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.004866, allocations: 37.69 kB / 350.2 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.004871, allocations: 0 / 350.2 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.004894, allocations: 3.938 kB / 350.2 MB, free: 6.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.004895, allocations: 96 / 350.2 MB, free: 6.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.004901, allocations: 4 kB / 350.2 MB, free: 6.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.004917, allocations: 3.938 kB / 350.2 MB, free: 6.266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.004927, allocations: 4 kB / 350.2 MB, free: 6.262 MB / 282.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.746e-05/0.004994, allocations: 131.5 kB / 350.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-06/0.005004, allocations: 4 kB / 350.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.301e-05/0.005017, allocations: 3 kB / 350.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.005018, allocations: 0 / 350.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.005023, allocations: 0 / 350.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.005029, allocations: 7.922 kB / 350.4 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.105e-05/0.00508, allocations: 101.3 kB / 350.5 MB, free: 5.973 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.005081, allocations: 4 kB / 350.5 MB, free: 5.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-06/0.005082, allocations: 3.938 kB / 350.5 MB, free: 5.965 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.005084, allocations: 4 kB / 350.5 MB, free: 5.961 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.005092, allocations: 0 / 350.5 MB, free: 5.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.005092, allocations: 0 / 350.5 MB, free: 5.961 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.005095, allocations: 7.984 kB / 350.5 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.171e-05/0.005187, allocations: 116.5 kB / 350.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-06/0.005191, allocations: 4 kB / 350.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.005204, allocations: 0 / 350.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.038e-05/0.005214, allocations: 4 kB / 350.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.005235, allocations: 4.031 kB / 350.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.005238, allocations: 3.984 kB / 350.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.063e-05/0.005259, allocations: 75.28 kB / 350.7 MB, free: 5.719 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005259, allocations: 0 / 350.7 MB, free: 5.719 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002506/0.00551, allocations: 23.88 kB / 350.7 MB, free: 5.695 MB / 282.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.0004527/0.005962, allocations: 183.5 kB / 350.9 MB, free: 5.539 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.006078, allocations: 122.7 kB / 351 MB, free: 5.395 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.00608, allocations: 3.938 kB / 351 MB, free: 5.391 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.169e-05/0.006112, allocations: 81.11 kB / 351.1 MB, free: 5.293 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.006256, allocations: 2.188 kB / 351.1 MB, free: 5.293 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001842/0.00644, allocations: 113.4 kB / 351.2 MB, free: 5.148 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.751e-05/0.006467, allocations: 55.48 kB / 351.2 MB, free: 5.074 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.071e-06/0.006473, allocations: 4 kB / 351.3 MB, free: 5.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.47e-05/0.006488, allocations: 16.48 kB / 351.3 MB, free: 5.055 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.006488, allocations: 0 / 351.3 MB, free: 5.055 MB / 282.7 MB Notification: Performance of Templates: time 0.002963/0.009451, allocations: 0.6922 MB / 352 MB, free: 4.367 MB / 282.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) [Timeout 480] 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: 4.810459129977971]