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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 112 kB / 20.54 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 185 kB / 23.71 MB, free: 5.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 225.6 MB / 252.3 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1924/0.1924, allocations: 44.91 MB / 352.4 MB, free: 12.22 MB / 286.1 MB " [Timeout remaining time 180] 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=5003,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=5003,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") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2e-05, allocations: 6.219 kB / 495.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches): time 0.003722/0.003742, allocations: 2.931 MB / 498.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009814/0.004724, allocations: 0.6583 MB / 499.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.004835, allocations: 7.938 kB / 499.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.004979, allocations: 51.5 kB / 499.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.005132, allocations: 99.11 kB / 499.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.005293, allocations: 87.88 kB / 499.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.005727, allocations: 450.3 kB / 0.4885 GB, free: 13.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.005928, allocations: 82.92 kB / 0.4885 GB, free: 13.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.006086, allocations: 155.5 kB / 0.4887 GB, free: 13.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.006267, allocations: 163.3 kB / 0.4888 GB, free: 13.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.31e-05/0.00632, allocations: 32 kB / 0.4889 GB, free: 13.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.022e-05/0.006371, allocations: 40 kB / 0.4889 GB, free: 13.16 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0004502/0.006821, allocations: 0.5608 MB / 0.4895 GB, free: 12.6 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001907/0.007012, allocations: 323.3 kB / 0.4898 GB, free: 12.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.035e-05/0.007072, allocations: 59.81 kB / 0.4898 GB, free: 12.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.338e-05/0.007115, allocations: 15.98 kB / 0.4898 GB, free: 12.2 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.001162/0.008277, allocations: 1.246 MB / 0.4911 GB, free: 10.83 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0001115/0.008389, allocations: 130.7 kB / 0.4912 GB, free: 10.71 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0005465/0.008935, allocations: 0.5618 MB / 0.4917 GB, free: 10.12 MB / 366.1 MB Notification: Performance of Simplify 1: time 0.0001739/0.009109, allocations: 155.6 kB / 0.4919 GB, free: 9.938 MB / 366.1 MB Notification: Performance of Alias: time 0.001618/0.01073, allocations: 1.228 MB / 0.4931 GB, free: 8.508 MB / 366.1 MB Notification: Performance of Simplify 2: time 0.0001212/0.01085, allocations: 115.7 kB / 0.4932 GB, free: 8.367 MB / 366.1 MB Notification: Performance of Remove Stream: time 9.818e-05/0.01095, allocations: 99.73 kB / 0.4933 GB, free: 8.242 MB / 366.1 MB Notification: Performance of Detect States: time 0.0002067/0.01115, allocations: 170.9 kB / 0.4934 GB, free: 8.039 MB / 366.1 MB Notification: Performance of Events: time 0.0001827/0.01134, allocations: 124 kB / 0.4936 GB, free: 7.918 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0003164/0.01165, allocations: 300.8 kB / 0.4938 GB, free: 7.586 MB / 366.1 MB Notification: Performance of Causalize: time 0.001095/0.01275, allocations: 0.8967 MB / 0.4947 GB, free: 6.648 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003636/0.01311, allocations: 391.5 kB / 0.4951 GB, free: 6.266 MB / 366.1 MB Notification: Performance of Simplify: time 0.0003832/0.01349, allocations: 326.2 kB / 0.4954 GB, free: 5.898 MB / 366.1 MB Notification: Performance of Inline: time 0.0005314/0.01403, allocations: 0.5592 MB / 0.496 GB, free: 5.336 MB / 366.1 MB Notification: Performance of Partitioning: time 3.434e-05/0.01406, allocations: 26.36 kB / 0.496 GB, free: 5.301 MB / 366.1 MB Notification: Performance of Cleanup: time 0.0001139/0.01417, allocations: 147.8 kB / 0.4961 GB, free: 5.156 MB / 366.1 MB Notification: Performance of Causalize: time 0.001318/0.01549, allocations: 1.082 MB / 0.4972 GB, free: 4.062 MB / 366.1 MB Notification: Performance of Tearing: time 0.00093/0.01642, allocations: 0.8942 MB / 0.498 GB, free: 3.07 MB / 366.1 MB Notification: Performance of Initialization: time 3.8e-07/0.01642, allocations: 0 / 0.498 GB, free: 3.07 MB / 366.1 MB Notification: Performance of Remove Dummies: time 6.192e-06/0.01643, allocations: 4.375 kB / 0.4981 GB, free: 3.066 MB / 366.1 MB Notification: Performance of Tearing: time 0.000794/0.01722, allocations: 0.8554 MB / 0.4989 GB, free: 2.113 MB / 366.1 MB Notification: Performance of Categorize: time 1.208e-05/0.01723, allocations: 4 kB / 0.4989 GB, free: 2.109 MB / 366.1 MB Notification: Performance of Solve: time 0.0001629/0.0174, allocations: 101.6 kB / 0.499 GB, free: 2.008 MB / 366.1 MB Notification: Performance of Jacobian: time 6.682e-06/0.0174, allocations: 8 kB / 0.499 GB, free: 2 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) {} * Number of discrete variables: ................. 8 (8) {booleanStep.y, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 23 (scalar:23, 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 (resizable: 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: ........... 34 (scalar:34, 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 4.347e-05/0.01745, allocations: 37.11 kB / 0.499 GB, free: 1.965 MB / 366.1 MB Notification: Performance of SimCode: time 0.001331/0.01878, allocations: 1.715 MB / 0.5007 GB, free: 220 kB / 366.1 MB Notification: Performance of Templates: time 0.006755/0.02553, allocations: 3.57 MB / 0.5042 GB, free: 12.64 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.37883785367012]