Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 101.9 kB / 17.08 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009547/0.0009547, allocations: 198.2 kB / 18.02 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2057/0.2057, allocations: 43.53 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 76.45 kB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.126, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001735/0.1277, allocations: 0.4947 MB / 0.489 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.1299, allocations: 1.267 MB / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.1299, allocations: 0 / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.13, allocations: 0 / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.1302, allocations: 7.984 kB / 0.4902 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1314, allocations: 257.9 kB / 0.4905 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.461e-05/0.1315, allocations: 7.984 kB / 0.4905 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.1315, allocations: 0 / 0.4905 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.052e-05/0.1315, allocations: 7.938 kB / 0.4905 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.419e-05/0.1316, allocations: 8 kB / 0.4905 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.175e-06/0.1316, allocations: 0 / 0.4905 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00338/0.135, allocations: 0.6842 MB / 0.4912 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.135, allocations: 0 / 0.4912 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.1351, allocations: 0 / 0.4912 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004721/0.1355, allocations: 183.6 kB / 0.4914 GB, free: 8.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1356, allocations: 0 / 0.4914 GB, free: 8.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1356, allocations: 0 / 0.4914 GB, free: 8.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1356, allocations: 0 / 0.4914 GB, free: 8.969 MB / 382.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.0006187/0.1362, allocations: 388.6 kB / 0.4917 GB, free: 8.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.1363, allocations: 15.89 kB / 0.4917 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.1363, allocations: 4.922 kB / 0.4918 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.1365, allocations: 160.4 kB / 0.4919 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1365, allocations: 4.375 kB / 0.4919 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.1365, allocations: 4.375 kB / 0.4919 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.1367, allocations: 33.77 kB / 0.4919 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1367, allocations: 0 / 0.4919 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1367, allocations: 4 kB / 0.4919 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.1367, allocations: 0 / 0.4919 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.784e-05/0.1367, allocations: 4 kB / 0.492 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.1369, allocations: 145.7 kB / 0.4921 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.304e-05/0.137, allocations: 22.61 kB / 0.4921 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.137, allocations: 4.859 kB / 0.4921 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-06/0.137, allocations: 3.938 kB / 0.4921 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.449e-05/0.1371, allocations: 68.27 kB / 0.4922 GB, free: 7.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.984e-06/0.1371, allocations: 3.938 kB / 0.4922 GB, free: 7.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002541/0.1374, allocations: 63.39 kB / 0.4923 GB, free: 7.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.1375, allocations: 77.11 kB / 0.4923 GB, free: 7.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.1376, allocations: 97.86 kB / 0.4924 GB, free: 7.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1376, allocations: 25.7 kB / 0.4924 GB, free: 7.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.1376, allocations: 84.12 kB / 0.4925 GB, free: 7.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.1377, allocations: 4.25 kB / 0.4925 GB, free: 7.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.1377, allocations: 13.72 kB / 0.4925 GB, free: 7.535 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1379, allocations: 314.8 kB / 0.4928 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.1379, allocations: 3.938 kB / 0.4928 GB, free: 7.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-06/0.1379, allocations: 4 kB / 0.4928 GB, free: 7.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.013e-05/0.1379, allocations: 64.2 kB / 0.4929 GB, free: 7.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1379, allocations: 0 / 0.4929 GB, free: 7.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.839e-05/0.138, allocations: 71.34 kB / 0.493 GB, free: 7.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.1381, allocations: 37.67 kB / 0.493 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1381, allocations: 0 / 0.493 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1381, allocations: 0 / 0.493 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.1381, allocations: 0 / 0.493 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1381, allocations: 4 kB / 0.493 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/0.1382, allocations: 0 / 0.493 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1382, allocations: 4 kB / 0.493 GB, free: 7 MB / 382.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.0001006/0.1383, allocations: 147.5 kB / 0.4932 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.1383, allocations: 3.938 kB / 0.4932 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.193e-05/0.1383, allocations: 7.125 kB / 0.4932 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1383, allocations: 0 / 0.4932 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1383, allocations: 0 / 0.4932 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.1384, allocations: 77.11 kB / 0.4932 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1384, allocations: 4 kB / 0.4932 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.013e-05/0.1384, allocations: 0 / 0.4932 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.1384, allocations: 3.938 kB / 0.4933 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001335/0.1386, allocations: 198.1 kB / 0.4934 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001546/0.1387, allocations: 248.5 kB / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.951e-05/0.1387, allocations: 0 / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.334e-05/0.1388, allocations: 83.22 kB / 0.4938 GB, free: 6.156 MB / 382.1 MB Notification: Performance of Backend: time 4.21e-07/0.1388, allocations: 0 / 0.4938 GB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009206/0.1397, allocations: 368.5 kB / 0.4941 GB, free: 5.773 MB / 382.1 MB Notification: Performance of SimCode: time 0.0004072/0.1401, allocations: 0.5872 MB / 0.4947 GB, free: 5.125 MB / 382.1 MB Notification: Performance of Templates: time 0.004572/0.1447, allocations: 1.604 MB / 0.4962 GB, free: 3.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches