Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.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.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 105.6 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.001165/0.001165, allocations: 181.5 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.374/1.374, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2242/0.2242, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.177e-05, allocations: 2.281 kB / 471.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003001/0.003032, allocations: 1.717 MB / 472.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002162/0.003261, allocations: 67.73 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.397e-05/0.003342, allocations: 4 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.943e-05/0.003416, allocations: 15.86 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.21e-05/0.003524, allocations: 27.72 kB / 473 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001044/0.003634, allocations: 23.97 kB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.003818, allocations: 119.6 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.004016, allocations: 59.95 kB / 473.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.104e-05/0.004084, allocations: 39.86 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.681e-05/0.004166, allocations: 43.84 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.004193, allocations: 8 kB / 473.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.101e-05/0.00422, allocations: 12 kB / 473.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001504/0.004376, allocations: 154.2 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 5.288e-05/0.004434, allocations: 94.61 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.004476, allocations: 27.94 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.193e-05/0.004503, allocations: 0 / 473.5 MB, free: 10.84 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: 28 (28) * Number of variables: 28 (28) Notification: Performance of Bindings: time 0.0006099/0.005119, allocations: 0.5891 MB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FunctionAlias: time 3.101e-05/0.005157, allocations: 23.88 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0002673/0.00543, allocations: 280.3 kB / 474.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simplify1: time 3.909e-05/0.005475, allocations: 19.98 kB / 474.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of Alias: time 0.001131/0.006612, allocations: 0.718 MB / 475.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of simplify2: time 1.814e-05/0.006642, allocations: 11.98 kB / 475.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of Detect States: time 8.422e-05/0.006733, allocations: 44.12 kB / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of Events: time 2.738e-05/0.006769, allocations: 19.92 kB / 475.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of Partitioning: time 8.083e-05/0.006855, allocations: 60.17 kB / 475.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of Causalize: time 0.0002141/0.007075, allocations: 160.6 kB / 475.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.000103/0.007188, allocations: 109.2 kB / 475.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of Inline: time 0.0002364/0.007431, allocations: 192.3 kB / 475.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of Partitioning: time 2.227e-05/0.007461, allocations: 20.12 kB / 475.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of Cleanup: time 1.509e-05/0.007482, allocations: 4 kB / 475.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of Causalize: time 0.000275/0.007764, allocations: 215.8 kB / 476 MB, free: 8.035 MB / 350.1 MB Notification: Performance of Tearing: time 1.109e-05/0.007783, allocations: 0 / 476 MB, free: 8.035 MB / 350.1 MB Notification: Performance of Initialization: time 7.81e-07/0.007789, allocations: 0 / 476 MB, free: 8.035 MB / 350.1 MB Notification: Performance of Tearing: time 2.575e-06/0.007797, allocations: 0 / 476 MB, free: 8.035 MB / 350.1 MB Notification: Performance of Categorize: time 1.229e-05/0.007813, allocations: 4 kB / 476 MB, free: 8.031 MB / 350.1 MB Notification: Performance of Solve: time 7.644e-05/0.007894, allocations: 31.91 kB / 476 MB, free: 8 MB / 350.1 MB Notification: Performance of Jacobian: time 3.637e-06/0.007906, allocations: 4 kB / 476 MB, free: 7.996 MB / 350.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * 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: ................. 0 (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: ... 0 (linear: 0, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.821e-05/0.007949, allocations: 21.83 kB / 476 MB, free: 7.98 MB / 350.1 MB Notification: Performance of SimCode: time 0.0006962/0.00865, allocations: 0.9116 MB / 477 MB, free: 7.047 MB / 350.1 MB Notification: Performance of Templates: time 0.002354/0.01102, allocations: 436.7 kB / 477.4 MB, free: 6.625 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches