Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.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.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_trunk_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_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001073/0.001073, 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.001133/0.001133, 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.118/1.118, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1731/0.1731, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.608e-06/9.638e-06, allocations: 2.281 kB / 481.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches): time 0.002956/0.002973, allocations: 2.926 MB / 484.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008578/0.003842, allocations: 0.6817 MB / 485.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.92e-05/0.003955, allocations: 15.94 kB / 485.5 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.004085, allocations: 55.44 kB / 485.6 MB, free: 496 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.004221, allocations: 91.12 kB / 485.7 MB, free: 404 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.004369, allocations: 91.86 kB / 485.8 MB, free: 312 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00037/0.004745, allocations: 454.2 kB / 486.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.004934, allocations: 122.9 kB / 486.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.005057, allocations: 151.5 kB / 486.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.005216, allocations: 167.3 kB / 486.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.264e-05/0.005264, allocations: 32 kB / 486.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.764e-05/0.005319, allocations: 40 kB / 486.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0003115/0.005635, allocations: 0.514 MB / 487.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001335/0.005774, allocations: 307.5 kB / 487.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/0.005825, allocations: 55.81 kB / 487.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.748e-05/0.005867, allocations: 19.92 kB / 487.6 MB, free: 14.46 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: 68 (68) * Number of variables: 68 (68) Notification: Performance of Bindings: time 0.001109/0.00698, allocations: 1.534 MB / 489.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of FunctionAlias: time 4.711e-05/0.007033, allocations: 67.88 kB / 489.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0006157/0.007654, allocations: 0.7882 MB / 490 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simplify1: time 6.657e-05/0.007727, allocations: 79.91 kB / 490.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of Alias: time 0.001386/0.009118, allocations: 1.439 MB / 491.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simplify2: time 4.75e-05/0.009177, allocations: 63.92 kB / 491.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of Events: time 0.0001443/0.009327, allocations: 115.7 kB / 491.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of Detect States: time 0.0001526/0.009487, allocations: 190.3 kB / 491.9 MB, free: 9.852 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0002377/0.009731, allocations: 279.9 kB / 492.1 MB, free: 9.539 MB / 366.1 MB Notification: Performance of Causalize: time 0.001017/0.01075, allocations: 1.041 MB / 493.2 MB, free: 8.457 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004586/0.01123, allocations: 0.597 MB / 493.8 MB, free: 7.836 MB / 366.1 MB Notification: Performance of Inline: time 0.0007599/0.01199, allocations: 0.9495 MB / 494.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of Partitioning: time 4.541e-05/0.01205, allocations: 46.38 kB / 494.8 MB, free: 6.797 MB / 366.1 MB Notification: Performance of Cleanup: time 3.418e-05/0.01209, allocations: 51.89 kB / 494.8 MB, free: 6.746 MB / 366.1 MB Notification: Performance of Causalize: time 0.001281/0.01337, allocations: 1.299 MB / 496.1 MB, free: 5.43 MB / 366.1 MB Notification: Performance of Tearing: time 0.0006274/0.01401, allocations: 0.8399 MB / 497 MB, free: 4.492 MB / 366.1 MB Notification: Performance of Initialization: time 5.01e-07/0.01402, allocations: 3.938 kB / 497 MB, free: 4.488 MB / 366.1 MB Notification: Performance of Tearing: time 0.0005512/0.01457, allocations: 0.8278 MB / 497.8 MB, free: 3.562 MB / 366.1 MB Notification: Performance of Categorize: time 7.474e-06/0.01459, allocations: 0 / 497.8 MB, free: 3.562 MB / 366.1 MB Notification: Performance of Solve: time 0.000149/0.01474, allocations: 113.5 kB / 497.9 MB, free: 3.453 MB / 366.1 MB Notification: Performance of Jacobian: time 4.238e-06/0.01475, allocations: 8 kB / 497.9 MB, free: 3.445 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: 0, nonlinear:2) 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: 0, nonlinear:2) Notification: Performance of backend: time 2.877e-05/0.01479, allocations: 26.34 kB / 497.9 MB, free: 3.426 MB / 366.1 MB Notification: Performance of SimCode: time 0.001048/0.01584, allocations: 1.761 MB / 499.7 MB, free: 1.637 MB / 366.1 MB Notification: Performance of Templates: time 0.005357/0.02121, allocations: 3.359 MB / 0.4913 GB, free: 14.28 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches