Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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.001355/0.001355, allocations: 99.59 kB / 21.2 MB, free: 0.6406 MB / 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.001468/0.001468, allocations: 218.7 kB / 24.5 MB, free: 3.926 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.625/1.625, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3304/0.3304, allocations: 46.95 MB / 361.6 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.566e-05/3.566e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4922/0.4922, allocations: 160.4 MB / 0.6539 GB, free: 412 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.4944, allocations: 0.8698 MB / 0.6548 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.4946, allocations: 19.81 kB / 0.6548 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007102/0.4953, allocations: 198.7 kB / 0.655 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006047/0.4959, allocations: 294.3 kB / 0.6552 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007017/0.5029, allocations: 1.959 MB / 0.6572 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001732/0.5046, allocations: 1.087 MB / 0.6582 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005578/0.5052, allocations: 301.7 kB / 0.6585 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003902/0.5091, allocations: 1.651 MB / 0.6601 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006164/0.5097, allocations: 346.8 kB / 0.6605 GB, free: 9.684 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.831e-05/0.5098, allocations: 48 kB / 0.6605 GB, free: 9.637 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004828/0.5146, allocations: 2.336 MB / 0.6628 GB, free: 7.297 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.001104/0.5157, allocations: 1.019 MB / 0.6638 GB, free: 6.27 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005304/0.5163, allocations: 0.6279 MB / 0.6644 GB, free: 5.637 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.5164, allocations: 48 kB / 0.6644 GB, free: 5.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0001023/0.5165, allocations: 15.94 kB / 0.6645 GB, free: 5.574 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 (85) * Number of variables: 89 (83) Notification: Performance of [SIM] Bindings: time 0.003062/0.5196, allocations: 2.627 MB / 0.667 GB, free: 2.805 MB / 494.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004204/0.52, allocations: 325.9 kB / 0.6673 GB, free: 2.469 MB / 494.1 MB Notification: Performance of [SIM] Early Inline: time 0.001988/0.522, allocations: 1.661 MB / 0.6689 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005516/0.5225, allocations: 351 kB / 0.6693 GB, free: 404 kB / 494.1 MB Notification: Performance of [SIM] Alias: time 0.002213/0.5247, allocations: 1.429 MB / 0.6707 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of [SIM] Simplify 2: time 0.0005113/0.5253, allocations: 342.4 kB / 0.671 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of [SIM] Remove Stream: time 0.00023/0.5255, allocations: 188 kB / 0.6712 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of [SIM] Detect States: time 0.0004357/0.5259, allocations: 385.5 kB / 0.6716 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of [SIM] Events: time 0.0002766/0.5262, allocations: 149.5 kB / 0.6717 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of [SIM] Partitioning: time 0.0008304/0.527, allocations: 0.6785 MB / 0.6724 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of [SIM] Causalize: time 0.002152/0.5292, allocations: 1.47 MB / 0.6738 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001306/0.5305, allocations: 1.214 MB / 0.675 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of [INI] Simplify: time 0.001337/0.5318, allocations: 0.7277 MB / 0.6757 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of [INI] Inline: time 0.002331/0.5341, allocations: 2.02 MB / 0.6777 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of [INI] Partitioning: time 8.228e-05/0.5342, allocations: 43.98 kB / 0.6777 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of [INI] Cleanup: time 0.0003164/0.5345, allocations: 279.7 kB / 0.678 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of [INI] Causalize: time 0.002808/0.5374, allocations: 1.781 MB / 0.6797 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of [INI] Tearing: time 4.725e-05/0.5374, allocations: 48 kB / 0.6798 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of [SIM] Initialization: time 1.363e-06/0.5374, allocations: 0 / 0.6798 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of [SIM] Remove Dummies: time 2.26e-05/0.5374, allocations: 11.94 kB / 0.6798 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of [SIM] Tearing: time 2.796e-05/0.5375, allocations: 40.5 kB / 0.6798 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of [SIM] Categorize: time 3.221e-05/0.5375, allocations: 8 kB / 0.6798 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of [SIM] Solve: time 0.001839/0.5393, allocations: 1.025 MB / 0.6808 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of [SIM] Jacobian: time 1.561e-05/0.5393, allocations: 8 kB / 0.6808 GB, free: 4.008 MB / 0.4981 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 8 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 5 * 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: ................. 12 (10) {$SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * 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: ........... 75 (scalar:65, array:10, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 2, 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: ........... 92 (scalar:80, array:12, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 2, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 8.315e-05/0.5394, allocations: 44.5 kB / 0.6809 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0118/0.5512, allocations: 4.864 MB / 0.6856 GB, free: 15.1 MB / 0.5137 GB [CodegenCFunctions.tpl:6891:22-6891:22:writable] Error: Template error: We only support function pointer calls where the pointer is a local variable (not inside any record). Got: _omcQ_24fDER0__omcQ_24fDER0_f. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.6721678958274424] Failed to read output from testmodel.py, exit status != 0: ['time', 'traceSubstance.C', 'traceSubstance1.C'] 0.5908055719919503 0.60501912 0.085335068 Calling exit ...