Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.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.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 110.8 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.001026/0.001026, allocations: 181.2 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.07 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.2184/0.2184, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.281e-05, allocations: 2.281 kB / 471.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003482/0.003513, allocations: 1.913 MB / 473.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.004616, allocations: 0.5571 MB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.004768, allocations: 4 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.004996, allocations: 27.73 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.00517, allocations: 35.7 kB / 473.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.00541, allocations: 47.94 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.005675, allocations: 175.3 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.005843, allocations: 65.02 kB / 474 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.006005, allocations: 55.84 kB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.721e-05/0.0061, allocations: 63.7 kB / 474.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.00614, allocations: 19.94 kB / 474.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.669e-05/0.006212, allocations: 16 kB / 474.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001874/0.006407, allocations: 229.4 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 8.963e-05/0.006502, allocations: 141.9 kB / 474.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.006545, allocations: 23.94 kB / 474.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.755e-05/0.006588, allocations: 0 / 474.5 MB, free: 9.871 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: 33 (33) * Number of variables: 33 (33) Notification: Performance of Bindings: time 0.0008324/0.007426, allocations: 0.7969 MB / 475.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001008/0.007533, allocations: 39.92 kB / 475.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0003936/0.007933, allocations: 363.5 kB / 475.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simplify1: time 4.811e-05/0.007988, allocations: 31.95 kB / 475.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of Alias: time 0.001176/0.009171, allocations: 0.8277 MB / 476.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simplify2: time 2.828e-05/0.009211, allocations: 15.98 kB / 476.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of Detect States: time 9.655e-05/0.009314, allocations: 68.34 kB / 476.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of Events: time 9.425e-05/0.009415, allocations: 31.86 kB / 476.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of Partitioning: time 9.698e-05/0.009519, allocations: 72.09 kB / 476.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of Causalize: time 0.000376/0.009901, allocations: 310.6 kB / 477 MB, free: 7.062 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.000176/0.01009, allocations: 192.3 kB / 477.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of Inline: time 0.0003402/0.01043, allocations: 304.1 kB / 477.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of Partitioning: time 3.018e-05/0.01047, allocations: 28.11 kB / 477.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of Cleanup: time 2.16e-05/0.0105, allocations: 15.92 kB / 477.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of Causalize: time 0.0004567/0.01096, allocations: 353.2 kB / 477.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of Tearing: time 1.297e-05/0.01098, allocations: 0 / 477.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of Initialization: time 5.51e-07/0.01099, allocations: 0 / 477.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of Tearing: time 2.956e-06/0.011, allocations: 0 / 477.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of Categorize: time 1.184e-05/0.01101, allocations: 7.938 kB / 477.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of Solve: time 0.0001287/0.01115, allocations: 59.92 kB / 478 MB, free: 6.043 MB / 350.1 MB Notification: Performance of Jacobian: time 6.362e-06/0.01116, allocations: 3.984 kB / 478 MB, free: 6.039 MB / 350.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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (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: ........... 14 (scalar:14, 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: ........... 16 (scalar:16, 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.275e-05/0.01122, allocations: 34.36 kB / 478 MB, free: 6.008 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008919/0.01212, allocations: 1.013 MB / 479 MB, free: 4.977 MB / 350.1 MB Notification: Performance of Templates: time 0.003455/0.01558, allocations: 0.7762 MB / 479.8 MB, free: 4.203 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches