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.002592/0.002592, allocations: 87.67 kB / 20.21 MB, free: 4.207 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.002928/0.002928, allocations: 169.2 kB / 23.53 MB, free: 0.8945 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.398/1.398, allocations: 158.6 MB / 185.3 MB, free: 2.918 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.2063/0.2063, allocations: 32.37 MB / 270 MB, free: 14.78 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 3.497e-06/3.497e-06, allocations: 4 kB / 346.9 MB, free: 9.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.448e-05, allocations: 6.312 kB / 346.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001356/0.00139, allocations: 0.4965 MB / 347.4 MB, free: 9.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008764/0.002266, allocations: 0.8884 MB / 348.3 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.938e-05/0.002296, allocations: 0 / 348.3 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.208e-05/0.002308, allocations: 0 / 348.3 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.002496, allocations: 11.94 kB / 348.3 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006513/0.003147, allocations: 62.31 kB / 348.4 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.469e-05/0.003202, allocations: 11.88 kB / 348.4 MB, free: 8.371 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.952e-05/0.003232, allocations: 0 / 348.4 MB, free: 8.371 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.72e-05/0.003269, allocations: 7.984 kB / 348.4 MB, free: 8.363 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.35e-05/0.003342, allocations: 0 / 348.4 MB, free: 8.363 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.003352, allocations: 0 / 348.4 MB, free: 8.363 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.003482, allocations: 55.94 kB / 348.4 MB, free: 8.309 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.416e-06/0.00349, allocations: 0 / 348.4 MB, free: 8.309 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.003508, allocations: 0 / 348.4 MB, free: 8.309 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.003669, allocations: 55.88 kB / 348.5 MB, free: 8.254 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.003672, allocations: 4 kB / 348.5 MB, free: 8.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003673, allocations: 0 / 348.5 MB, free: 8.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.003678, allocations: 0 / 348.5 MB, free: 8.25 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.0002853/0.003963, allocations: 385.9 kB / 348.9 MB, free: 7.828 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.003999, allocations: 12.03 kB / 348.9 MB, free: 7.816 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.004043, allocations: 8.859 kB / 348.9 MB, free: 7.809 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.509e-05/0.004128, allocations: 104.6 kB / 349 MB, free: 7.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.00414, allocations: 384 / 349 MB, free: 7.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.004147, allocations: 4.375 kB / 349 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.766e-05/0.004235, allocations: 51.97 kB / 349.1 MB, free: 7.613 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.004245, allocations: 8.188 kB / 349.1 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.004252, allocations: 384 / 349.1 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.004257, allocations: 384 / 349.1 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.243e-05/0.004279, allocations: 29.64 kB / 349.1 MB, free: 7.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.661e-05/0.004366, allocations: 116.6 kB / 349.2 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.804e-05/0.004424, allocations: 52.7 kB / 349.3 MB, free: 7.352 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.00444, allocations: 41.48 kB / 349.3 MB, free: 7.301 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.004449, allocations: 0 / 349.3 MB, free: 7.301 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.004475, allocations: 59.09 kB / 349.4 MB, free: 7.227 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.004476, allocations: 4 kB / 349.4 MB, free: 7.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001691/0.004645, allocations: 122.8 kB / 349.5 MB, free: 7.078 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.004669, allocations: 81.05 kB / 349.6 MB, free: 6.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.37e-05/0.004723, allocations: 157.9 kB / 349.7 MB, free: 6.809 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.004729, allocations: 25.7 kB / 349.7 MB, free: 6.777 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.491e-05/0.004744, allocations: 126.9 kB / 349.9 MB, free: 6.648 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.004755, allocations: 3.953 kB / 349.9 MB, free: 6.645 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.00478, allocations: 27.36 kB / 349.9 MB, free: 6.609 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.681e-05/0.004837, allocations: 492.1 kB / 350.4 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.004851, allocations: 25.7 kB / 350.4 MB, free: 6.086 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.085e-05/0.004862, allocations: 33.95 kB / 350.4 MB, free: 6.047 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.923e-05/0.004891, allocations: 67.09 kB / 350.5 MB, free: 5.965 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.004893, allocations: 0 / 350.5 MB, free: 5.965 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.442e-05/0.004947, allocations: 93.03 kB / 350.6 MB, free: 5.855 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.004982, allocations: 29.7 kB / 350.6 MB, free: 5.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.004985, allocations: 0 / 350.6 MB, free: 5.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.004998, allocations: 4 kB / 350.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.004999, allocations: 3.938 kB / 350.6 MB, free: 5.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.005003, allocations: 0 / 350.6 MB, free: 5.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.386e-05/0.005017, allocations: 3.938 kB / 350.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.005023, allocations: 4.094 kB / 350.6 MB, free: 5.805 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 4.668e-05/0.00507, allocations: 190.2 kB / 350.8 MB, free: 5.602 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.005079, allocations: 3.984 kB / 350.8 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.538e-06/0.005088, allocations: 7 kB / 350.8 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.00509, allocations: 4 kB / 350.8 MB, free: 5.586 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.005093, allocations: 0 / 350.8 MB, free: 5.586 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.005097, allocations: 3.938 kB / 350.8 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.113e-05/0.005138, allocations: 104.6 kB / 350.9 MB, free: 5.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.005138, allocations: 0 / 350.9 MB, free: 5.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-06/0.005141, allocations: 7.984 kB / 350.9 MB, free: 5.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005142, allocations: 8 kB / 351 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.005148, allocations: 0 / 351 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.005148, allocations: 0 / 351 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.005149, allocations: 0 / 351 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.591e-05/0.005225, allocations: 139.7 kB / 351.1 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-06/0.005229, allocations: 0 / 351.1 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.00524, allocations: 0 / 351.1 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-06/0.005249, allocations: 0 / 351.1 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.005265, allocations: 4 kB / 351.1 MB, free: 5.254 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.005267, allocations: 0 / 351.1 MB, free: 5.254 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.885e-05/0.005286, allocations: 123.2 kB / 351.2 MB, free: 5.133 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005286, allocations: 0 / 351.2 MB, free: 5.133 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002203/0.005507, allocations: 23.88 kB / 351.2 MB, free: 5.109 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.0005263/0.006033, allocations: 194.3 kB / 351.4 MB, free: 4.941 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.541e-05/0.006128, allocations: 122.5 kB / 351.5 MB, free: 4.793 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.00613, allocations: 0 / 351.5 MB, free: 4.793 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.452e-05/0.006154, allocations: 100.7 kB / 351.6 MB, free: 4.672 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.006285, allocations: 2.188 kB / 351.6 MB, free: 4.672 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001729/0.006458, allocations: 123.1 kB / 351.8 MB, free: 4.516 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.018e-05/0.006498, allocations: 51.36 kB / 351.8 MB, free: 4.445 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.871e-06/0.006504, allocations: 0 / 351.8 MB, free: 4.445 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.327e-05/0.006517, allocations: 12.5 kB / 351.8 MB, free: 4.434 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.006518, allocations: 4.125 kB / 351.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of Templates: time 0.003317/0.009834, allocations: 0.6882 MB / 352.5 MB, free: 3.75 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=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","/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.6962976440554485]