Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.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.001984/0.001984, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.002691/0.002691, allocations: 211.2 kB / 24.55 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.7 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2349/0.2349, allocations: 44.94 MB / 359.7 MB, free: 6.008 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.257e-05/3.257e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001891/0.001923, allocations: 487.5 kB / 0.4948 GB, free: 9.602 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002627/0.004551, allocations: 1.352 MB / 0.4961 GB, free: 8.242 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/0.004581, allocations: 0 / 0.4961 GB, free: 8.242 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.004603, allocations: 4 kB / 0.4961 GB, free: 8.238 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.004892, allocations: 19.92 kB / 0.4961 GB, free: 8.219 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:456:3-488:12:writable] Warning: Pure function 'ModelicaTest.Utilities.Files' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.006486, allocations: 249.3 kB / 0.4963 GB, free: 7.977 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.506e-05/0.006581, allocations: 11.98 kB / 0.4964 GB, free: 7.965 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.037e-05/0.006641, allocations: 0 / 0.4964 GB, free: 7.965 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.397e-05/0.006675, allocations: 7.984 kB / 0.4964 GB, free: 7.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.006742, allocations: 3.938 kB / 0.4964 GB, free: 7.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.006752, allocations: 0 / 0.4964 GB, free: 7.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004078/0.01083, allocations: 0.713 MB / 0.4971 GB, free: 7.363 MB / 366.1 MB Notification: Performance of combineBinaries: time 4.386e-05/0.01087, allocations: 19.83 kB / 0.4971 GB, free: 7.344 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 9.097e-06/0.01088, allocations: 7.906 kB / 0.4971 GB, free: 7.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.315e-05/0.0109, allocations: 0 / 0.4971 GB, free: 7.336 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.509e-05/0.01093, allocations: 4 kB / 0.4971 GB, free: 7.332 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 (1) * Number of variables: 1 (1) Notification: Performance of [SIM] Bindings: time 0.0006085/0.01154, allocations: 213.5 kB / 0.4973 GB, free: 7.004 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.117e-05/0.01158, allocations: 27.91 kB / 0.4973 GB, free: 6.965 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 7.843e-05/0.01166, allocations: 56.36 kB / 0.4974 GB, free: 6.883 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001677/0.01183, allocations: 64.73 kB / 0.4974 GB, free: 6.773 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 9.242e-05/0.01192, allocations: 84.58 kB / 0.4975 GB, free: 6.641 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.729e-05/0.01199, allocations: 64.69 kB / 0.4976 GB, free: 6.531 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.595e-05/0.01203, allocations: 48.36 kB / 0.4976 GB, free: 6.457 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001032/0.01214, allocations: 80.86 kB / 0.4977 GB, free: 6.324 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.223e-05/0.01216, allocations: 4 kB / 0.4977 GB, free: 6.32 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 7.801e-05/0.01224, allocations: 24.12 kB / 0.4977 GB, free: 6.289 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001267/0.01236, allocations: 16.11 kB / 0.4978 GB, free: 6.266 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 2.642e-05/0.01239, allocations: 19.94 kB / 0.4978 GB, free: 6.246 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001582/0.01255, allocations: 108.9 kB / 0.4979 GB, free: 6.07 MB / 366.1 MB Notification: Performance of [INI] Inline: time 3.026e-05/0.01258, allocations: 24.06 kB / 0.4979 GB, free: 6.043 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.311e-05/0.01259, allocations: 12.31 kB / 0.4979 GB, free: 6.023 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.686e-05/0.01261, allocations: 15.98 kB / 0.4979 GB, free: 6.008 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.856e-05/0.01268, allocations: 28.05 kB / 0.498 GB, free: 5.973 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.031e-05/0.01269, allocations: 0 / 0.498 GB, free: 5.973 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.5e-07/0.01269, allocations: 0 / 0.498 GB, free: 5.973 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.85e-05/0.01272, allocations: 12.12 kB / 0.498 GB, free: 5.953 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.935e-06/0.01272, allocations: 0 / 0.498 GB, free: 5.953 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 2.955e-06/0.01272, allocations: 4 kB / 0.498 GB, free: 5.949 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 9.979e-06/0.01273, allocations: 8.188 kB / 0.498 GB, free: 5.941 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 2.076e-05/0.01275, allocations: 4 kB / 0.498 GB, free: 5.938 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001359/0.01289, allocations: 170 kB / 0.4981 GB, free: 5.738 MB / 366.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {result} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.056e-05/0.01293, allocations: 30.53 kB / 0.4982 GB, free: 5.711 MB / 366.1 MB Error: Internal error NSimStrongComponent.Block.createEquation failed with status Solve.EXPLICIT for [DUMY] (0) Dummy equation. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8585715139633976] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.022128684970084578 0.036340146000000004 0.022317511 Calling exit ...