Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.UnitDeduction.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.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Asec.y|PI.x|PID.D.x|PID.I.y|PID1.D.x|PID1.I.y|Vsec.y|Wsec.y|derivative.x|firstOrder.y|inertia.phi|inertia.w|integrator.y|limIntegrator.y|secondOrder.y|secondOrder.yd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.UnitDeduction") translateModel(ModelicaTest.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Asec.y|PI.x|PID.D.x|PID.I.y|PID1.D.x|PID1.I.y|Vsec.y|Wsec.y|derivative.x|firstOrder.y|inertia.phi|inertia.w|integrator.y|limIntegrator.y|secondOrder.y|secondOrder.yd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 108 kB / 18.46 MB, free: 4.461 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.001255/0.001255, allocations: 194.5 kB / 19.39 MB, free: 3.539 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.379/1.379, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2296/0.2296, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/2.993e-05, allocations: 2.281 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.006738/0.006776, allocations: 4.018 MB / 475.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00315/0.009963, allocations: 1.207 MB / 476.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009309/0.01092, allocations: 23.88 kB / 476.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000586/0.01153, allocations: 118.7 kB / 476.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.01276, allocations: 170.5 kB / 476.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.01416, allocations: 394.2 kB / 477.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00181/0.01599, allocations: 0.9399 MB / 478 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007533/0.01675, allocations: 305.4 kB / 478.3 MB, free: 6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006994/0.01747, allocations: 326.6 kB / 478.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006705/0.01815, allocations: 326.2 kB / 479 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.01838, allocations: 64 kB / 479 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.01858, allocations: 71.94 kB / 479.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001134/0.01972, allocations: 1.2 MB / 480.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008597/0.02059, allocations: 0.7887 MB / 481.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.02102, allocations: 127.5 kB / 481.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0004907/0.02152, allocations: 67.55 kB / 481.3 MB, free: 3.02 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: 132 (132) * Number of variables: 132 (132) Notification: Performance of Bindings: time 0.004647/0.02617, allocations: 3.293 MB / 484.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0004816/0.02666, allocations: 227.7 kB / 484.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of Early Inline: time 0.002436/0.02911, allocations: 1.39 MB / 486.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simplify1: time 0.0002828/0.0294, allocations: 123.8 kB / 486.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of Alias: time 0.004611/0.03402, allocations: 3.156 MB / 489.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simplify2: time 0.0002657/0.03431, allocations: 91.88 kB / 489.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of Events: time 0.0003037/0.03462, allocations: 138.3 kB / 489.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of Detect States: time 0.0007933/0.03542, allocations: 405 kB / 490.1 MB, free: 9.609 MB / 366.1 MB Notification: Performance of Partitioning: time 0.000715/0.03615, allocations: 369.5 kB / 490.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of Causalize: time 0.00196/0.03812, allocations: 1.232 MB / 491.7 MB, free: 7.953 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.001052/0.03919, allocations: 0.8651 MB / 492.5 MB, free: 7.062 MB / 366.1 MB Notification: Performance of Inline: time 0.002217/0.04141, allocations: 1.597 MB / 494.1 MB, free: 5.43 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0001462/0.04157, allocations: 95.56 kB / 494.2 MB, free: 5.332 MB / 366.1 MB Notification: Performance of Cleanup: time 0.0004157/0.042, allocations: 187.5 kB / 494.4 MB, free: 5.145 MB / 366.1 MB Notification: Performance of Causalize: time 0.007161/0.04917, allocations: 4.45 MB / 498.8 MB, free: 0.668 MB / 366.1 MB Notification: Performance of Tearing: time 1.345e-05/0.04921, allocations: 0 / 498.8 MB, free: 0.668 MB / 366.1 MB Notification: Performance of Initialization: time 1.182e-06/0.04922, allocations: 0 / 498.8 MB, free: 0.668 MB / 366.1 MB Notification: Performance of Tearing: time 7.404e-06/0.04923, allocations: 0 / 498.8 MB, free: 0.668 MB / 366.1 MB Notification: Performance of Categorize: time 2.674e-05/0.04926, allocations: 4 kB / 498.9 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of Solve: time 0.0008054/0.05008, allocations: 303.3 kB / 499.1 MB, free: 380 kB / 366.1 MB Notification: Performance of Jacobian: time 0.0009419/0.05103, allocations: 0.7987 MB / 499.9 MB, free: 15.5 MB / 382.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: ............... 2 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 16 (16) {integrator.y, inertia.w, inertia.phi, limIntegrator.y, derivative.x, firstOrder.y, secondOrder.y, secondOrder.yd, PI.x, PID.I.y, PID.D.x, PID1.I.y, PID1.D.x, Wsec.y, Vsec.y, Asec.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {$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: ........... 54 (scalar:54, 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: ........... 96 (scalar:96, 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 (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 96 (scalar:96, 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 0.0001997/0.05125, allocations: 64.23 kB / 0.4883 GB, free: 15.43 MB / 382.1 MB Notification: Performance of SimCode: time 0.00326/0.05452, allocations: 2.876 MB / 0.4911 GB, free: 12.46 MB / 382.1 MB Notification: Performance of Templates: time 0.008594/0.06313, allocations: 3.971 MB / 0.495 GB, free: 8.492 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.UnitDeduction.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.UnitDeduction.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.UnitDeduction.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.UnitDeduction.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.UnitDeduction.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.UnitDeduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.UnitDeduction.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.UnitDeduction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/UnitDeduction/UnitDeduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.UnitDeduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches