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.001925/0.001925, allocations: 75.77 kB / 20.51 MB, free: 1.121 MB / 14.72 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.003145/0.003145, allocations: 169.3 kB / 23.76 MB, free: 4.195 MB / 14.72 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.589/1.589, allocations: 158.6 MB / 185.5 MB, free: 6.129 MB / 174.1 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.2249/0.2249, allocations: 32.39 MB / 270.1 MB, free: 2.711 MB / 254.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002598/0.002598, allocations: 76.31 kB / 407.7 MB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.131, allocations: 61.04 MB / 468.8 MB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.002058/0.1331, allocations: 0.4911 MB / 469.3 MB, free: 7.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1347, allocations: 0.8704 MB / 470.1 MB, free: 6.969 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.1347, allocations: 0 / 470.1 MB, free: 6.969 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.1347, allocations: 0 / 470.1 MB, free: 6.969 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.135, allocations: 11.98 kB / 470.1 MB, free: 6.957 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007215/0.1357, allocations: 51.81 kB / 470.2 MB, free: 6.906 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.278e-05/0.1358, allocations: 11.98 kB / 470.2 MB, free: 6.895 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.1358, allocations: 4 kB / 470.2 MB, free: 6.891 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.313e-05/0.1358, allocations: 7.875 kB / 470.2 MB, free: 6.883 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.825e-05/0.1359, allocations: 4 kB / 470.2 MB, free: 6.879 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.1359, allocations: 0 / 470.2 MB, free: 6.879 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.136, allocations: 51.95 kB / 470.3 MB, free: 6.828 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.136, allocations: 7.984 kB / 470.3 MB, free: 6.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.1361, allocations: 4 kB / 470.3 MB, free: 6.816 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.1363, allocations: 43.94 kB / 470.3 MB, free: 6.773 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1363, allocations: 3.938 kB / 470.3 MB, free: 6.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1363, allocations: 0 / 470.3 MB, free: 6.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1363, allocations: 4 kB / 470.3 MB, free: 6.766 MB / 446.1 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.0003915/0.1367, allocations: 276 kB / 470.6 MB, free: 6.457 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1367, allocations: 8.031 kB / 470.6 MB, free: 6.449 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.1367, allocations: 4.938 kB / 470.6 MB, free: 6.445 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.1369, allocations: 110.5 kB / 470.7 MB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1369, allocations: 4.359 kB / 470.7 MB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.1369, allocations: 384 / 470.7 MB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.137, allocations: 63.91 kB / 470.8 MB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.137, allocations: 192 / 470.8 MB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.137, allocations: 3.938 kB / 470.8 MB, free: 6.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.137, allocations: 4 kB / 470.8 MB, free: 6.227 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.431e-05/0.137, allocations: 29.7 kB / 470.8 MB, free: 6.191 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.1372, allocations: 101.3 kB / 470.9 MB, free: 6.062 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.799e-05/0.1372, allocations: 48.31 kB / 471 MB, free: 6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.814e-05/0.1373, allocations: 30.56 kB / 471 MB, free: 5.961 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.1373, allocations: 4.062 kB / 471 MB, free: 5.957 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.636e-05/0.1373, allocations: 60.2 kB / 471.1 MB, free: 5.883 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1373, allocations: 0 / 471.1 MB, free: 5.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002465/0.1376, allocations: 122.7 kB / 471.2 MB, free: 5.738 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.1377, allocations: 81.23 kB / 471.3 MB, free: 5.641 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.97e-05/0.1377, allocations: 93.86 kB / 471.4 MB, free: 5.539 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1378, allocations: 25.7 kB / 471.4 MB, free: 5.508 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/0.1378, allocations: 80.14 kB / 471.5 MB, free: 5.426 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.1378, allocations: 0 / 471.5 MB, free: 5.426 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.1379, allocations: 17.7 kB / 471.5 MB, free: 5.402 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.138, allocations: 314.8 kB / 471.8 MB, free: 5.086 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.687e-05/0.138, allocations: 29.7 kB / 471.8 MB, free: 5.051 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.546e-05/0.1381, allocations: 25.7 kB / 471.8 MB, free: 5.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.759e-05/0.1381, allocations: 72.33 kB / 471.9 MB, free: 4.934 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1381, allocations: 0 / 471.9 MB, free: 4.934 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001075/0.1383, allocations: 97.05 kB / 472 MB, free: 4.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.1383, allocations: 29.7 kB / 472 MB, free: 4.785 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1383, allocations: 0 / 472 MB, free: 4.785 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1383, allocations: 7.938 kB / 472 MB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.1383, allocations: 0 / 472 MB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1383, allocations: 0 / 472 MB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.765e-05/0.1383, allocations: 0 / 472 MB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.1383, allocations: 0 / 472 MB, free: 4.777 MB / 446.1 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 0.0001166/0.1385, allocations: 143.6 kB / 472.2 MB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-06/0.1385, allocations: 0 / 472.2 MB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.406e-05/0.1385, allocations: 3 kB / 472.2 MB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1385, allocations: 3.938 kB / 472.2 MB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1385, allocations: 4 kB / 472.2 MB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1385, allocations: 3.938 kB / 472.2 MB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.1386, allocations: 97.31 kB / 472.3 MB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1386, allocations: 0 / 472.3 MB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-06/0.1386, allocations: 7.922 kB / 472.3 MB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1386, allocations: 0 / 472.3 MB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1386, allocations: 4 kB / 472.3 MB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.1386, allocations: 8 kB / 472.3 MB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1386, allocations: 3.938 kB / 472.3 MB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.1388, allocations: 120.5 kB / 472.4 MB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-06/0.1388, allocations: 0 / 472.4 MB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.1388, allocations: 4 kB / 472.4 MB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.085e-05/0.1388, allocations: 0 / 472.4 MB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.1388, allocations: 3.938 kB / 472.4 MB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.1388, allocations: 0 / 472.4 MB, free: 4.301 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.283e-05/0.1389, allocations: 79.28 kB / 472.5 MB, free: 4.223 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1389, allocations: 0 / 472.5 MB, free: 4.223 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000226/0.1391, allocations: 20.06 kB / 472.5 MB, free: 4.203 MB / 446.1 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.0004932/0.1396, allocations: 193.9 kB / 472.7 MB, free: 4.008 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.1397, allocations: 114.8 kB / 472.8 MB, free: 3.871 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1397, allocations: 0 / 472.8 MB, free: 3.871 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.447e-05/0.1398, allocations: 85.09 kB / 472.9 MB, free: 3.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.1399, allocations: 7.594 kB / 472.9 MB, free: 3.766 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.1402, allocations: 114.5 kB / 473 MB, free: 3.621 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.764e-05/0.1403, allocations: 59.34 kB / 473.1 MB, free: 3.543 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.454e-06/0.1403, allocations: 0 / 473.1 MB, free: 3.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.477e-05/0.1403, allocations: 8.5 kB / 473.1 MB, free: 3.535 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1403, allocations: 0 / 473.1 MB, free: 3.535 MB / 446.1 MB Notification: Performance of Templates: time 0.003525/0.1438, allocations: 0.6578 MB / 473.8 MB, free: 2.875 MB / 446.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","/var/lib/jenkins1/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: 5.35550725297071]