Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 105.7 kB / 18.46 MB, free: 4.605 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.001333/0.001333, allocations: 184.2 kB / 19.39 MB, free: 3.68 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.338/1.338, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2247/0.2247, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.422e-05, allocations: 2.281 kB / 471.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003045/0.003079, allocations: 1.722 MB / 472.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002116/0.003306, allocations: 79.73 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.061e-05/0.003385, allocations: 4 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.522e-05/0.003446, allocations: 11.86 kB / 473 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.672e-05/0.003557, allocations: 27.72 kB / 473 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001084/0.003671, allocations: 23.97 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.003852, allocations: 123.6 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.004043, allocations: 59.92 kB / 473.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.645e-05/0.004126, allocations: 39.86 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.282e-05/0.004215, allocations: 55.77 kB / 473.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.00425, allocations: 12 kB / 473.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.391e-05/0.004279, allocations: 12 kB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001358/0.00442, allocations: 158.2 kB / 473.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 5.691e-05/0.004482, allocations: 94.62 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.004517, allocations: 15.94 kB / 473.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.604e-05/0.004547, allocations: 4 kB / 473.6 MB, free: 10.81 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: 23 (23) * Number of variables: 23 (23) Notification: Performance of Bindings: time 0.0007298/0.005282, allocations: 0.5851 MB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FunctionAlias: time 5.325e-05/0.005346, allocations: 23.94 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0004292/0.005789, allocations: 300.2 kB / 474.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simplify1: time 6.31e-05/0.005867, allocations: 31.97 kB / 474.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of Alias: time 0.0008946/0.006773, allocations: 0.5881 MB / 475.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simplify2: time 2.963e-05/0.006816, allocations: 15.97 kB / 475.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001082/0.006933, allocations: 56.17 kB / 475.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of Events: time 0.000131/0.007076, allocations: 59.81 kB / 475.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001033/0.007191, allocations: 76.09 kB / 475.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of Causalize: time 0.0004937/0.007692, allocations: 251.7 kB / 475.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002829/0.00799, allocations: 216.2 kB / 475.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of Inline: time 0.0003554/0.008357, allocations: 312.2 kB / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of Partitioning: time 2.444e-05/0.008391, allocations: 20.12 kB / 476.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of Cleanup: time 2.097e-05/0.008418, allocations: 19.97 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of Causalize: time 0.0004087/0.008831, allocations: 324.2 kB / 476.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of Tearing: time 0.0004318/0.009272, allocations: 366.1 kB / 476.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of Initialization: time 7.52e-07/0.009284, allocations: 0 / 476.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of Tearing: time 0.0003105/0.009601, allocations: 362 kB / 477.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of Categorize: time 9.789e-06/0.009619, allocations: 0 / 477.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of Solve: time 8.017e-05/0.009704, allocations: 32.03 kB / 477.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of Jacobian: time 3.948e-06/0.009716, allocations: 0 / 477.1 MB, free: 6.797 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: ................. 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: ........... 8 (scalar:8, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 10 (scalar:10, 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: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 5.776e-05/0.009777, allocations: 30.44 kB / 477.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008712/0.01065, allocations: 1.011 MB / 478.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of Templates: time 0.003904/0.01457, allocations: 0.9633 MB / 479.2 MB, free: 4.773 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches