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.0008602/0.0008602, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.0009185/0.0009185, allocations: 169.9 kB / 23.96 MB, free: 0.6016 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.8619/0.8619, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1298/0.1298, allocations: 32.37 MB / 270.4 MB, free: 14.96 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.083e-06/2.083e-06, allocations: 0 / 408.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/3e-05, allocations: 5.938 kB / 408.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001646/0.001676, allocations: 0.495 MB / 408.6 MB, free: 12.56 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000867/0.002543, allocations: 0.8665 MB / 409.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.002563, allocations: 0 / 409.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.002578, allocations: 0 / 409.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.002769, allocations: 19.91 kB / 409.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.003265, allocations: 54.42 kB / 409.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.227e-05/0.003317, allocations: 4 kB / 409.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.003353, allocations: 0 / 409.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.972e-05/0.003383, allocations: 7.984 kB / 409.5 MB, free: 11.61 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.916e-05/0.003432, allocations: 8 kB / 409.5 MB, free: 11.61 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.206e-06/0.00344, allocations: 0 / 409.5 MB, free: 11.61 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.389e-05/0.003534, allocations: 55.88 kB / 409.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.144e-06/0.003541, allocations: 0 / 409.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.778e-05/0.003559, allocations: 3.938 kB / 409.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.003695, allocations: 59.86 kB / 409.6 MB, free: 11.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.003697, allocations: 0 / 409.6 MB, free: 11.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.003698, allocations: 0 / 409.6 MB, free: 11.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.003702, allocations: 0 / 409.6 MB, free: 11.49 MB / 346.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.0002719/0.003974, allocations: 280 kB / 409.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.004007, allocations: 12.03 kB / 409.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.004037, allocations: 4.938 kB / 409.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.253e-05/0.00411, allocations: 109.7 kB / 410 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.00412, allocations: 384 / 410 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.004128, allocations: 384 / 410 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.877e-05/0.004206, allocations: 59.95 kB / 410.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.004214, allocations: 192 / 410.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.004221, allocations: 384 / 410.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.004225, allocations: 384 / 410.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.315e-05/0.004248, allocations: 37.58 kB / 410.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.142e-05/0.004339, allocations: 101.3 kB / 410.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.545e-05/0.004385, allocations: 48.31 kB / 410.3 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.717e-05/0.004402, allocations: 30.56 kB / 410.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.004409, allocations: 4.062 kB / 410.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.004443, allocations: 64.25 kB / 410.4 MB, free: 10.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.004444, allocations: 0 / 410.4 MB, free: 10.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001546/0.004598, allocations: 126.7 kB / 410.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.004634, allocations: 81.11 kB / 410.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.321e-05/0.004687, allocations: 97.78 kB / 410.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.004697, allocations: 29.95 kB / 410.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.792e-05/0.004715, allocations: 80.14 kB / 410.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.004727, allocations: 4 kB / 410.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.00475, allocations: 13.72 kB / 410.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.127e-05/0.004821, allocations: 310.8 kB / 411.1 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.004837, allocations: 29.7 kB / 411.1 MB, free: 9.762 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.198e-05/0.004848, allocations: 25.7 kB / 411.2 MB, free: 9.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.581e-05/0.004884, allocations: 68.25 kB / 411.2 MB, free: 9.648 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004886, allocations: 0 / 411.2 MB, free: 9.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.556e-05/0.004942, allocations: 89.14 kB / 411.3 MB, free: 9.543 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.004965, allocations: 33.7 kB / 411.4 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.004971, allocations: 4 kB / 411.4 MB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.004984, allocations: 7.969 kB / 411.4 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.004985, allocations: 0 / 411.4 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.004989, allocations: 0 / 411.4 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.282e-05/0.005002, allocations: 3.938 kB / 411.4 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.005009, allocations: 0 / 411.4 MB, free: 9.488 MB / 346.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.899e-05/0.005068, allocations: 135.5 kB / 411.5 MB, free: 9.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-06/0.005072, allocations: 4 kB / 411.5 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.616e-06/0.00508, allocations: 3 kB / 411.5 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.005082, allocations: 4 kB / 411.5 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.005086, allocations: 4 kB / 411.5 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.005089, allocations: 3.938 kB / 411.5 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.92e-05/0.005139, allocations: 97.31 kB / 411.6 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005139, allocations: 0 / 411.6 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-07/0.00514, allocations: 3.938 kB / 411.6 MB, free: 9.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.005141, allocations: 4 kB / 411.6 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.005147, allocations: 0 / 411.6 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.11e-07/0.005147, allocations: 0 / 411.6 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005148, allocations: 0 / 411.6 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.718e-05/0.005225, allocations: 128.4 kB / 411.7 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-06/0.005229, allocations: 0 / 411.7 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.005239, allocations: 4 kB / 411.7 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.681e-06/0.005245, allocations: 3.938 kB / 411.8 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.005256, allocations: 0 / 411.8 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.005258, allocations: 0 / 411.8 MB, free: 9.023 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.336e-05/0.005282, allocations: 83.27 kB / 411.8 MB, free: 8.941 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005282, allocations: 0 / 411.8 MB, free: 8.941 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000147/0.005429, allocations: 19.88 kB / 411.9 MB, free: 8.922 MB / 346.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.0003091/0.005738, allocations: 198.8 kB / 412 MB, free: 8.738 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.584e-05/0.005834, allocations: 110.8 kB / 412.2 MB, free: 8.605 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.005835, allocations: 0 / 412.2 MB, free: 8.605 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.876e-05/0.005864, allocations: 89.11 kB / 412.2 MB, free: 8.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.00597, allocations: 11.8 kB / 412.3 MB, free: 8.492 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001763/0.006146, allocations: 132.4 kB / 412.4 MB, free: 8.324 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.639e-05/0.006182, allocations: 55.36 kB / 412.4 MB, free: 8.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.167e-05/0.006194, allocations: 8.5 kB / 412.4 MB, free: 8.242 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.006195, allocations: 0 / 412.4 MB, free: 8.242 MB / 346.7 MB Notification: Performance of Templates: time 0.001729/0.007923, allocations: 0.8273 MB / 413.3 MB, free: 7.414 MB / 346.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.805349882692099]