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.001088/0.001088, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0009827/0.0009827, allocations: 165 kB / 23.79 MB, free: 0.7773 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.045/1.045, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1524/0.1524, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.647e-06/3.647e-06, allocations: 0 / 347.6 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.814e-05/4.179e-05, allocations: 4.281 kB / 347.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001416/0.001458, allocations: 0.512 MB / 348.1 MB, free: 8.977 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008441/0.002302, allocations: 0.896 MB / 349 MB, free: 8.078 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.00233, allocations: 0 / 349 MB, free: 8.078 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.002351, allocations: 4 kB / 349 MB, free: 8.074 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.002584, allocations: 15.92 kB / 349.1 MB, free: 8.059 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006657/0.00325, allocations: 69.11 kB / 349.1 MB, free: 8.004 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.568e-05/0.003316, allocations: 3.938 kB / 349.1 MB, free: 8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.003351, allocations: 7.984 kB / 349.1 MB, free: 7.992 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.46e-05/0.003386, allocations: 4 kB / 349.1 MB, free: 7.988 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.003431, allocations: 0 / 349.1 MB, free: 7.988 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.003443, allocations: 0 / 349.1 MB, free: 7.988 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.003576, allocations: 47.95 kB / 349.2 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.003586, allocations: 7.984 kB / 349.2 MB, free: 7.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.003614, allocations: 4 kB / 349.2 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.003789, allocations: 59.8 kB / 349.3 MB, free: 7.871 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.003793, allocations: 0 / 349.3 MB, free: 7.871 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.003795, allocations: 0 / 349.3 MB, free: 7.871 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.003803, allocations: 4 kB / 349.3 MB, free: 7.867 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.0002857/0.004089, allocations: 381.9 kB / 349.6 MB, free: 7.449 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.004126, allocations: 11.97 kB / 349.6 MB, free: 7.438 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.004166, allocations: 0.9375 kB / 349.6 MB, free: 7.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.579e-05/0.004232, allocations: 108.6 kB / 349.8 MB, free: 7.305 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.004243, allocations: 384 / 349.8 MB, free: 7.305 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.004256, allocations: 384 / 349.8 MB, free: 7.305 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.216e-05/0.004338, allocations: 63.95 kB / 349.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.004349, allocations: 192 / 349.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.004362, allocations: 384 / 349.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.004371, allocations: 384 / 349.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.909e-05/0.00439, allocations: 33.64 kB / 349.9 MB, free: 7.191 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.004497, allocations: 108.6 kB / 350 MB, free: 7.051 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.994e-05/0.004547, allocations: 56.73 kB / 350 MB, free: 6.977 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.004564, allocations: 37.38 kB / 350.1 MB, free: 6.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.411e-06/0.004569, allocations: 0 / 350.1 MB, free: 6.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.004601, allocations: 63.16 kB / 350.1 MB, free: 6.852 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.004602, allocations: 4 kB / 350.1 MB, free: 6.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000198/0.0048, allocations: 118.8 kB / 350.2 MB, free: 6.707 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.004829, allocations: 81.05 kB / 350.3 MB, free: 6.609 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.515e-05/0.004884, allocations: 158.2 kB / 350.5 MB, free: 6.438 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.61e-06/0.00489, allocations: 25.7 kB / 350.5 MB, free: 6.406 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.354e-05/0.004903, allocations: 130.9 kB / 350.6 MB, free: 6.273 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.004921, allocations: 3.953 kB / 350.6 MB, free: 6.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.004944, allocations: 23.38 kB / 350.6 MB, free: 6.238 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.709e-05/0.004991, allocations: 492.1 kB / 351.1 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.005008, allocations: 37.88 kB / 351.2 MB, free: 5.703 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-06/0.005017, allocations: 29.7 kB / 351.2 MB, free: 5.668 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.984e-05/0.005047, allocations: 63.09 kB / 351.3 MB, free: 5.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005049, allocations: 0 / 351.3 MB, free: 5.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.581e-05/0.005105, allocations: 93.05 kB / 351.3 MB, free: 5.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.005132, allocations: 33.69 kB / 351.4 MB, free: 5.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.005137, allocations: 0 / 351.4 MB, free: 5.441 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.005152, allocations: 0 / 351.4 MB, free: 5.441 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.657e-06/0.005156, allocations: 0 / 351.4 MB, free: 5.441 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.005161, allocations: 4 kB / 351.4 MB, free: 5.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.005175, allocations: 8.031 kB / 351.4 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.005182, allocations: 0 / 351.4 MB, free: 5.43 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.968e-05/0.005231, allocations: 182.3 kB / 351.6 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-06/0.005237, allocations: 0 / 351.6 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.383e-05/0.005251, allocations: 3 kB / 351.6 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.005253, allocations: 3.984 kB / 351.6 MB, free: 5.227 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.005257, allocations: 4 kB / 351.6 MB, free: 5.223 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005259, allocations: 7.938 kB / 351.6 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.061e-05/0.0053, allocations: 108.6 kB / 351.7 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.005301, allocations: 0 / 351.7 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.005302, allocations: 4 kB / 351.7 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.005303, allocations: 0 / 351.7 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.00531, allocations: 4 kB / 351.7 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.005311, allocations: 0 / 351.7 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005312, allocations: 0 / 351.7 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.189e-05/0.005384, allocations: 131.7 kB / 351.8 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.005391, allocations: 7.984 kB / 351.8 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.005408, allocations: 4 kB / 351.8 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.751e-06/0.005414, allocations: 0 / 351.8 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.005432, allocations: 3.984 kB / 351.8 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.005435, allocations: 4.031 kB / 351.8 MB, free: 4.883 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.263e-05/0.005458, allocations: 123.2 kB / 352 MB, free: 4.762 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005458, allocations: 0 / 352 MB, free: 4.762 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001645/0.005623, allocations: 19.88 kB / 352 MB, free: 4.742 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.0003994/0.006022, allocations: 204.5 kB / 352.2 MB, free: 4.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.301e-05/0.006115, allocations: 122.5 kB / 352.3 MB, free: 4.422 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.006117, allocations: 0 / 352.3 MB, free: 4.422 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.722e-05/0.006134, allocations: 92.73 kB / 352.4 MB, free: 4.309 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001116/0.006246, allocations: 10.17 kB / 352.4 MB, free: 4.301 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001951/0.006441, allocations: 115.1 kB / 352.5 MB, free: 4.152 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.878e-05/0.00647, allocations: 51.36 kB / 352.6 MB, free: 4.082 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.392e-06/0.006476, allocations: 4.125 kB / 352.6 MB, free: 4.078 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.006496, allocations: 12.5 kB / 352.6 MB, free: 4.066 MB / 282.7 MB Notification: Performance of SimCode: time 1.403e-06/0.006497, allocations: 0 / 352.6 MB, free: 4.066 MB / 282.7 MB Notification: Performance of Templates: time 0.002871/0.009369, allocations: 0.681 MB / 353.3 MB, free: 3.387 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","",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.372033159248531]