Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001073/0.001073, allocations: 113.3 kB / 18.47 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001333, allocations: 214.8 kB / 19.42 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.821e-05/3.823e-05, allocations: 2.281 kB / 481.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004657/0.004704, allocations: 2.693 MB / 484.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.006365, allocations: 0.7866 MB / 485.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000323/0.0067, allocations: 8 kB / 485.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.007048, allocations: 71.38 kB / 485.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004203/0.007478, allocations: 103.2 kB / 485.6 MB, free: 484 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.007922, allocations: 115.8 kB / 485.7 MB, free: 368 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000691/0.008621, allocations: 478.4 kB / 486.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.008924, allocations: 142.8 kB / 486.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.009215, allocations: 151.5 kB / 486.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.009485, allocations: 175.1 kB / 486.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.3e-05/0.009565, allocations: 32 kB / 486.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.009698, allocations: 44 kB / 486.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0004888/0.01019, allocations: 0.61 MB / 487.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002696/0.01047, allocations: 401.8 kB / 487.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.01058, allocations: 71.75 kB / 487.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.831e-05/0.01065, allocations: 4 kB / 487.7 MB, free: 14.27 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: 84 (84) * Number of variables: 84 (84) Notification: Performance of Bindings: time 0.001955/0.01261, allocations: 1.979 MB / 489.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0002283/0.01285, allocations: 135.7 kB / 489.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0008904/0.01375, allocations: 0.8428 MB / 490.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simplify1: time 9.896e-05/0.01385, allocations: 83.89 kB / 490.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of Alias: time 0.002481/0.01634, allocations: 1.937 MB / 492.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of simplify2: time 7.718e-05/0.01644, allocations: 51.94 kB / 492.8 MB, free: 8.875 MB / 366.1 MB Notification: Performance of Detect States: time 0.0001553/0.0166, allocations: 139.8 kB / 492.9 MB, free: 8.727 MB / 366.1 MB Notification: Performance of Events: time 0.0001643/0.01677, allocations: 84.56 kB / 493 MB, free: 8.645 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0003009/0.01708, allocations: 252.6 kB / 493.2 MB, free: 8.352 MB / 366.1 MB Notification: Performance of Causalize: time 0.0009625/0.01805, allocations: 0.8253 MB / 494.1 MB, free: 7.48 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004774/0.01854, allocations: 496 kB / 494.5 MB, free: 6.969 MB / 366.1 MB Notification: Performance of Inline: time 0.001135/0.01968, allocations: 0.8854 MB / 495.4 MB, free: 6.047 MB / 366.1 MB Notification: Performance of Partitioning: time 7.307e-05/0.01976, allocations: 50.36 kB / 495.5 MB, free: 5.992 MB / 366.1 MB Notification: Performance of Cleanup: time 9.101e-05/0.01986, allocations: 47.89 kB / 495.5 MB, free: 5.945 MB / 366.1 MB Notification: Performance of Causalize: time 0.001583/0.02145, allocations: 1.078 MB / 496.6 MB, free: 4.859 MB / 366.1 MB Notification: Performance of Tearing: time 2.052e-05/0.02148, allocations: 4 kB / 496.6 MB, free: 4.855 MB / 366.1 MB Notification: Performance of Initialization: time 4.41e-07/0.02149, allocations: 0 / 496.6 MB, free: 4.855 MB / 366.1 MB Notification: Performance of Tearing: time 9.477e-06/0.02151, allocations: 3.938 kB / 496.6 MB, free: 4.852 MB / 366.1 MB Notification: Performance of Categorize: time 4.161e-05/0.02155, allocations: 4 kB / 496.6 MB, free: 4.848 MB / 366.1 MB Notification: Performance of Solve: time 0.0003305/0.02189, allocations: 162.1 kB / 496.8 MB, free: 4.691 MB / 366.1 MB Notification: Performance of Jacobian: time 4.779e-06/0.0219, allocations: 0 / 496.8 MB, free: 4.691 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 6.593e-05/0.02197, allocations: 29.5 kB / 496.8 MB, free: 4.672 MB / 366.1 MB Notification: Performance of SimCode: time 0.001764/0.02375, allocations: 1.571 MB / 498.4 MB, free: 3.062 MB / 366.1 MB Notification: Performance of Templates: time 0.005905/0.02967, allocations: 1.936 MB / 0.4886 GB, free: 1.125 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches