Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004432/0.004437, allocations: 370 kB / 15.97 MB, free: 6.18 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.058/4.058, allocations: 388.9 MB / 405.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003479/0.003478, allocations: 222.7 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5385/0.5385, allocations: 80.02 MB / 0.5627 GB, free: 19.83 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004547, allocations: 16 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09985/0.1003, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor): time 0.3613/0.4617, allocations: 43.58 MB / 0.7227 GB, free: 14.71 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03577/0.4975, allocations: 20.01 MB / 0.7422 GB, free: 14.02 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00221/0.4997, allocations: 45.59 kB / 0.7422 GB, free: 14 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002892/0.5027, allocations: 0.6153 MB / 0.7428 GB, free: 13.84 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.02022/0.5229, allocations: 4.4 MB / 0.7471 GB, free: 12.62 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01547/0.5384, allocations: 3.049 MB / 0.7501 GB, free: 11.41 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004975/0.5434, allocations: 2.73 MB / 0.7528 GB, free: 9.809 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002058/0.5456, allocations: 0.8731 MB / 0.7536 GB, free: 9.27 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002892/0.5485, allocations: 0.9218 MB / 0.7545 GB, free: 8.805 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01815/0.5667, allocations: 6.854 MB / 0.7612 GB, free: 7.121 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005565/0.5673, allocations: 72.53 kB / 0.7613 GB, free: 7.121 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02167/0.589, allocations: 7.4 MB / 0.7685 GB, free: 32 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008094/0.5899, allocations: 277 kB / 0.7688 GB, free: 15.76 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009608/0.5909, allocations: 340.9 kB / 0.7691 GB, free: 15.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01385/0.6047, allocations: 4.569 MB / 0.7736 GB, free: 11.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.6048, allocations: 0 / 0.7736 GB, free: 11.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.6048, allocations: 0 / 0.7736 GB, free: 11.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.641e-05/0.6049, allocations: 0 / 0.7736 GB, free: 11.09 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.01086/0.6158, allocations: 2.192 MB / 0.7757 GB, free: 8.859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.6159, allocations: 8.031 kB / 0.7757 GB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005701/0.6216, allocations: 409.8 kB / 0.7761 GB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003558/0.6252, allocations: 0.8971 MB / 0.777 GB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/0.6255, allocations: 102.6 kB / 0.7771 GB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004445/0.6259, allocations: 128 kB / 0.7772 GB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00839/0.6343, allocations: 1.656 MB / 0.7788 GB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/0.6345, allocations: 15.83 kB / 0.7788 GB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003025/0.6348, allocations: 59.95 kB / 0.7789 GB, free: 5.484 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.635, allocations: 46.31 kB / 0.7789 GB, free: 5.438 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008492/0.6435, allocations: 1.352 MB / 0.7803 GB, free: 4.078 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01946/0.663, allocations: 7.589 MB / 0.7877 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005721/0.6688, allocations: 0.9276 MB / 0.7886 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.6705, allocations: 362.4 kB / 0.7889 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08529/0.7558, allocations: 18.61 MB / 0.8071 GB, free: 5.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.307e-05/0.756, allocations: 43.12 kB / 0.8071 GB, free: 5.789 MB / 394.7 MB Notification: Performance of pre-optimization done (n=68): time 4.208e-06/0.756, allocations: 0 / 0.8071 GB, free: 5.789 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: Valve.dp = -100000.0 + pump.medium.p [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed