Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 107.3 kB / 18.46 MB, free: 4.594 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.001464/0.001464, allocations: 179.8 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2152/0.2152, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.782e-05, allocations: 2.281 kB / 471.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004621/0.00466, allocations: 2.652 MB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.006296, allocations: 0.7439 MB / 474.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003134/0.006628, allocations: 8 kB / 474.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.006931, allocations: 71.39 kB / 474.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.007355, allocations: 95.17 kB / 474.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.007746, allocations: 115.8 kB / 474.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006372/0.008391, allocations: 474.4 kB / 475.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.008644, allocations: 138.8 kB / 475.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003131/0.008967, allocations: 163.3 kB / 475.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.009245, allocations: 175.2 kB / 475.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.539e-05/0.009327, allocations: 32 kB / 475.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.009455, allocations: 40 kB / 475.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.000462/0.009925, allocations: 0.6062 MB / 476.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002635/0.0102, allocations: 386.1 kB / 476.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.01033, allocations: 67.75 kB / 476.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.566e-05/0.0104, allocations: 4 kB / 476.9 MB, free: 7.465 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 (84) * Number of variables: 84 (84) Notification: Performance of Bindings: time 0.001913/0.01232, allocations: 1.952 MB / 478.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0002013/0.01253, allocations: 115.8 kB / 479 MB, free: 5.281 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0009298/0.01347, allocations: 0.8506 MB / 479.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001116/0.01359, allocations: 91.88 kB / 479.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of Alias: time 0.002577/0.01617, allocations: 1.934 MB / 481.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simplify2: time 8.708e-05/0.01627, allocations: 43.94 kB / 481.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002447/0.01652, allocations: 142.3 kB / 482 MB, free: 1.961 MB / 350.1 MB Notification: Performance of Events: time 0.000158/0.01669, allocations: 79.81 kB / 482.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002913/0.01699, allocations: 257.4 kB / 482.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of Causalize: time 0.0009775/0.01798, allocations: 0.8331 MB / 483.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004876/0.01848, allocations: 483.6 kB / 483.6 MB, free: 212 kB / 350.1 MB Notification: Performance of Inline: time 0.001121/0.01961, allocations: 0.8968 MB / 484.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of Partitioning: time 7.463e-05/0.01969, allocations: 54.36 kB / 484.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of Cleanup: time 7.247e-05/0.01977, allocations: 43.88 kB / 484.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of Causalize: time 0.001498/0.02128, allocations: 1.071 MB / 485.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of Tearing: time 1.323e-05/0.0213, allocations: 0 / 485.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of Initialization: time 2.294e-06/0.02131, allocations: 4 kB / 485.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of Tearing: time 1.002e-05/0.02132, allocations: 3.938 kB / 485.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of Categorize: time 1.816e-05/0.02135, allocations: 4 kB / 485.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of Solve: time 0.0003253/0.02168, allocations: 166 kB / 485.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of Jacobian: time 4.028e-06/0.02169, allocations: 0 / 485.9 MB, free: 13.92 MB / 366.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {$TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 41 (scalar:41, 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 (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: ........... 56 (scalar:56, 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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.609e-05/0.02175, allocations: 29.73 kB / 485.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of SimCode: time 0.001538/0.02329, allocations: 1.535 MB / 487.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of Templates: time 0.005353/0.02866, allocations: 1.923 MB / 489.4 MB, free: 10.4 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches