Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.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.Ideal.IdealTwoWaySwitches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|twoWay.LossPower|twoWay.p.i|twoWay.n1.v|twoWay.n1.i|twoWay.n2.v|twoWay.n2.i|controlledTwoWay.LossPower|controlledTwoWay.p.i|controlledTwoWay.n1.v|controlledTwoWay.n1.i|controlledTwoWay.n2.v|controlledTwoWay.n2.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches") translateModel(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|twoWay.LossPower|twoWay.p.i|twoWay.n1.v|twoWay.n1.i|twoWay.n2.v|twoWay.n2.i|controlledTwoWay.LossPower|controlledTwoWay.p.i|controlledTwoWay.n1.v|controlledTwoWay.n1.i|controlledTwoWay.n2.v|controlledTwoWay.n2.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 107.3 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.001464/0.001464, allocations: 179.8 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.395/1.395, allocations: 222.9 MB / 243.1 MB, free: 15.12 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.2387/0.2387, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.484e-05, allocations: 5.234 kB / 471.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches): time 0.004537/0.00457, allocations: 2.906 MB / 474.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.006068, allocations: 0.6545 MB / 474.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003579/0.006439, allocations: 4 kB / 474.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.006719, allocations: 51.44 kB / 474.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.007128, allocations: 91.19 kB / 474.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.007441, allocations: 95.86 kB / 475 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000793/0.008242, allocations: 450.2 kB / 475.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/0.008568, allocations: 118.9 kB / 475.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003079/0.008888, allocations: 155.5 kB / 475.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.009146, allocations: 155.4 kB / 475.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.777e-05/0.009232, allocations: 36 kB / 475.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.742e-05/0.009315, allocations: 35.94 kB / 475.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0004426/0.009766, allocations: 0.5217 MB / 476.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002539/0.01003, allocations: 303.5 kB / 476.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.01016, allocations: 59.81 kB / 476.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.883e-05/0.01024, allocations: 16 kB / 476.8 MB, free: 7.574 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: 68 (68) * Number of variables: 68 (68) Notification: Performance of Bindings: time 0.001844/0.01209, allocations: 1.534 MB / 478.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001281/0.01223, allocations: 75.81 kB / 478.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0008555/0.01309, allocations: 0.7805 MB / 479.2 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001351/0.01323, allocations: 79.91 kB / 479.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of Alias: time 0.002122/0.01536, allocations: 1.447 MB / 480.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simplify2: time 0.0001051/0.01548, allocations: 59.92 kB / 480.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001904/0.01568, allocations: 170.2 kB / 480.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of Events: time 0.0002232/0.01591, allocations: 115.7 kB / 481 MB, free: 2.98 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0003445/0.01626, allocations: 279.9 kB / 481.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of Causalize: time 0.001343/0.01761, allocations: 1.052 MB / 482.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006144/0.01824, allocations: 0.5934 MB / 482.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of Inline: time 0.0009637/0.01921, allocations: 0.9456 MB / 483.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of Partitioning: time 7.074e-05/0.01929, allocations: 54.31 kB / 483.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Cleanup: time 8.187e-05/0.01938, allocations: 47.94 kB / 484 MB, free: 15.86 MB / 366.1 MB Notification: Performance of Causalize: time 0.001704/0.02109, allocations: 1.306 MB / 485.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of Tearing: time 0.001175/0.02227, allocations: 1.128 MB / 486.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of Initialization: time 9.02e-07/0.02229, allocations: 0 / 486.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of Tearing: time 0.001088/0.02338, allocations: 1.141 MB / 487.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of Categorize: time 1.608e-05/0.02341, allocations: 4 kB / 487.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of Solve: time 0.0001899/0.02361, allocations: 109.6 kB / 487.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of Jacobian: time 5.23e-06/0.02362, allocations: 3.938 kB / 487.7 MB, free: 11.96 MB / 366.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: ......... 5 * 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: ................. 7 (7) {booleanStep.y, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 22 (scalar:22, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 33 (scalar:33, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 4.951e-05/0.02367, allocations: 34.97 kB / 487.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of SimCode: time 0.001607/0.02529, allocations: 1.777 MB / 489.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of Templates: time 0.007764/0.03306, allocations: 3.354 MB / 492.8 MB, free: 6.773 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/Ideal/IdealTwoWaySwitches/IdealTwoWaySwitches.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches