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.00108/0.00108, allocations: 106.1 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001139/0.001139, allocations: 215.9 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.14/1.14, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1767/0.1767, allocations: 46.11 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008e-05/1.01e-05, allocations: 2.281 kB / 481.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003012/0.00303, allocations: 2.681 MB / 484.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.004166, allocations: 0.7827 MB / 485.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.004329, allocations: 8 kB / 485.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.004532, allocations: 71.39 kB / 485.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.004771, allocations: 115 kB / 485.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.005025, allocations: 119.8 kB / 485.7 MB, free: 412 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004213/0.005453, allocations: 478.4 kB / 486.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.005669, allocations: 138.8 kB / 486.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.005845, allocations: 151.5 kB / 486.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.006019, allocations: 175.1 kB / 486.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.394e-05/0.006078, allocations: 35.98 kB / 486.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.583e-05/0.006169, allocations: 40 kB / 486.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0003573/0.006532, allocations: 0.6099 MB / 487.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001948/0.006735, allocations: 405.8 kB / 487.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.793e-05/0.006808, allocations: 63.75 kB / 487.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.893e-05/0.006851, allocations: 8 kB / 487.8 MB, free: 14.32 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.001653/0.008509, allocations: 1.983 MB / 489.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0001444/0.008659, allocations: 115.8 kB / 489.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0007087/0.009375, allocations: 0.8545 MB / 490.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simplify1: time 7.516e-05/0.009456, allocations: 75.91 kB / 490.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of Alias: time 0.001968/0.01143, allocations: 1.945 MB / 492.7 MB, free: 8.977 MB / 366.1 MB Notification: Performance of simplify2: time 4.057e-05/0.01148, allocations: 43.89 kB / 492.8 MB, free: 8.934 MB / 366.1 MB Notification: Performance of Events: time 9.573e-05/0.01158, allocations: 71.88 kB / 492.8 MB, free: 8.863 MB / 366.1 MB Notification: Performance of Detect States: time 0.0001279/0.01172, allocations: 158.3 kB / 493 MB, free: 8.691 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0002403/0.01196, allocations: 253 kB / 493.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of Causalize: time 0.0008112/0.01278, allocations: 0.8295 MB / 494.1 MB, free: 7.523 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003764/0.01317, allocations: 491.7 kB / 494.5 MB, free: 7.016 MB / 366.1 MB Notification: Performance of Inline: time 0.0007781/0.01395, allocations: 0.8968 MB / 495.4 MB, free: 6.082 MB / 366.1 MB Notification: Performance of Partitioning: time 5.032e-05/0.01401, allocations: 54.36 kB / 495.5 MB, free: 6.023 MB / 366.1 MB Notification: Performance of Cleanup: time 3.715e-05/0.01405, allocations: 43.88 kB / 495.5 MB, free: 5.98 MB / 366.1 MB Notification: Performance of Causalize: time 0.001082/0.01514, allocations: 1.071 MB / 496.6 MB, free: 4.906 MB / 366.1 MB Notification: Performance of Tearing: time 7.905e-06/0.01515, allocations: 0 / 496.6 MB, free: 4.906 MB / 366.1 MB Notification: Performance of Initialization: time 5.51e-07/0.01516, allocations: 0 / 496.6 MB, free: 4.906 MB / 366.1 MB Notification: Performance of Tearing: time 5.109e-06/0.01517, allocations: 3.938 kB / 496.6 MB, free: 4.902 MB / 366.1 MB Notification: Performance of Categorize: time 1.184e-05/0.01518, allocations: 7.984 kB / 496.6 MB, free: 4.895 MB / 366.1 MB Notification: Performance of Solve: time 0.0002169/0.0154, allocations: 158.1 kB / 496.8 MB, free: 4.742 MB / 366.1 MB Notification: Performance of Jacobian: time 3.106e-06/0.01541, allocations: 0 / 496.8 MB, free: 4.742 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 3.469e-05/0.01545, allocations: 33.19 kB / 496.8 MB, free: 4.715 MB / 366.1 MB Notification: Performance of SimCode: time 0.0009676/0.01643, allocations: 1.554 MB / 498.4 MB, free: 3.121 MB / 366.1 MB Notification: Performance of Templates: time 0.004129/0.02057, allocations: 1.949 MB / 0.4886 GB, free: 1.172 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