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.001419/0.001419, allocations: 107.4 kB / 18.46 MB, free: 4.625 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.001394/0.001394, allocations: 186.6 kB / 19.39 MB, free: 3.703 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.399/1.399, 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.2153/0.2153, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.755e-05, allocations: 2.281 kB / 471.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.005332/0.005358, allocations: 4.018 MB / 475.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003252/0.008625, allocations: 1.215 MB / 476.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.009749, allocations: 27.81 kB / 476.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005015/0.01026, allocations: 110.7 kB / 476.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009921/0.01126, allocations: 186.5 kB / 476.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.01231, allocations: 390.2 kB / 477.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.01373, allocations: 0.936 MB / 478 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006407/0.01438, allocations: 305.5 kB / 478.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006233/0.01502, allocations: 326.6 kB / 478.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004618/0.01549, allocations: 330.2 kB / 479 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.01562, allocations: 64 kB / 479 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.01575, allocations: 68 kB / 479.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.000848/0.0166, allocations: 1.2 MB / 480.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004848/0.0171, allocations: 0.7887 MB / 481.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.01727, allocations: 127.5 kB / 481.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0002196/0.0175, allocations: 63.59 kB / 481.3 MB, free: 3.07 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.002882/0.02038, allocations: 3.297 MB / 484.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.000297/0.02069, allocations: 232.5 kB / 484.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Early Inline: time 0.00144/0.02214, allocations: 1.382 MB / 486.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simplify1: time 0.0001463/0.02229, allocations: 119.8 kB / 486.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of Alias: time 0.004001/0.0263, allocations: 3.161 MB / 489.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simplify2: time 0.0001828/0.0265, allocations: 87.89 kB / 489.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of Detect States: time 0.0005106/0.02702, allocations: 387.6 kB / 489.9 MB, free: 9.809 MB / 366.1 MB Notification: Performance of Events: time 0.0002454/0.02727, allocations: 137.1 kB / 490.1 MB, free: 9.676 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0004459/0.02773, allocations: 365.5 kB / 490.4 MB, free: 9.289 MB / 366.1 MB Notification: Performance of Causalize: time 0.001705/0.02944, allocations: 1.231 MB / 491.6 MB, free: 8.027 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0009445/0.0304, allocations: 0.869 MB / 492.5 MB, free: 7.129 MB / 366.1 MB Notification: Performance of Inline: time 0.001951/0.03236, allocations: 1.605 MB / 494.1 MB, free: 5.492 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0001167/0.03249, allocations: 95.61 kB / 494.2 MB, free: 5.391 MB / 366.1 MB Notification: Performance of Cleanup: time 0.0002969/0.03279, allocations: 187.6 kB / 494.4 MB, free: 5.207 MB / 366.1 MB Notification: Performance of Causalize: time 0.006657/0.03945, allocations: 4.442 MB / 498.8 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of Tearing: time 2.873e-05/0.03951, allocations: 0 / 498.8 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of Initialization: time 1.032e-06/0.03952, allocations: 0 / 498.8 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of Tearing: time 9.659e-06/0.03953, allocations: 4 kB / 498.8 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of Categorize: time 2.398e-05/0.03957, allocations: 7.938 kB / 498.8 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of Solve: time 0.000855/0.04043, allocations: 299.3 kB / 499.1 MB, free: 448 kB / 366.1 MB Notification: Performance of Jacobian: time 0.001039/0.04148, allocations: 0.8105 MB / 500 MB, free: 15.55 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.0002572/0.04175, allocations: 61.89 kB / 0.4883 GB, free: 15.48 MB / 382.1 MB Notification: Performance of SimCode: time 0.003489/0.04525, allocations: 2.905 MB / 0.4911 GB, free: 12.49 MB / 382.1 MB Notification: Performance of Templates: time 0.01028/0.05554, allocations: 3.89 MB / 0.4949 GB, free: 8.602 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