Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 110.5 kB / 17.05 MB, free: 6.051 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.001064/0.001064, allocations: 192.7 kB / 17.98 MB, free: 5.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.176/1.176, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1735/0.1735, allocations: 43.53 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.843e-05, allocations: 6.984 kB / 384.1 MB, free: 56.4 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.004472/0.004503, allocations: 4.006 MB / 388.1 MB, free: 53.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.006366, allocations: 1.266 MB / 389.4 MB, free: 53.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.006633, allocations: 25.72 kB / 389.4 MB, free: 53.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.006883, allocations: 116.1 kB / 389.5 MB, free: 53.22 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003963/0.007286, allocations: 185 kB / 389.7 MB, free: 53.17 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.007863, allocations: 383.5 kB / 390.1 MB, free: 52.97 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007484/0.008619, allocations: 0.9551 MB / 391 MB, free: 52.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003542/0.00898, allocations: 298.7 kB / 391.3 MB, free: 52.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.00927, allocations: 319.3 kB / 391.6 MB, free: 52.17 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.009517, allocations: 325.3 kB / 392 MB, free: 51.99 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.728e-05/0.009611, allocations: 65.19 kB / 392 MB, free: 51.99 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.108e-05/0.009698, allocations: 66.72 kB / 392.1 MB, free: 51.99 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0005188/0.01022, allocations: 1.204 MB / 393.3 MB, free: 51.13 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002413/0.01047, allocations: 0.7966 MB / 394.1 MB, free: 50.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.97e-05/0.01056, allocations: 126.2 kB / 394.2 MB, free: 50.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.58e-05/0.01066, allocations: 60.91 kB / 394.3 MB, free: 50.44 MB / 318.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.001978/0.01264, allocations: 3.294 MB / 397.6 MB, free: 48.09 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001668/0.01281, allocations: 232.2 kB / 397.8 MB, free: 47.94 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001032/0.01385, allocations: 1.395 MB / 399.2 MB, free: 47.06 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001027/0.01396, allocations: 125.2 kB / 399.3 MB, free: 47 MB / 318.1 MB Notification: Performance of Alias: time 0.002127/0.01609, allocations: 2.81 MB / 402.1 MB, free: 44.76 MB / 318.1 MB Notification: Performance of simplify2: time 6.233e-05/0.01617, allocations: 82.44 kB / 402.2 MB, free: 44.71 MB / 318.1 MB Notification: Performance of Events: time 0.0001352/0.01631, allocations: 138.8 kB / 402.3 MB, free: 44.6 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002939/0.01661, allocations: 411.1 kB / 402.7 MB, free: 44.25 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002806/0.0169, allocations: 362.2 kB / 403.1 MB, free: 43.88 MB / 318.1 MB Notification: Performance of Causalize: time 0.001345/0.01825, allocations: 1.791 MB / 404.9 MB, free: 42.19 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.000579/0.01884, allocations: 0.8591 MB / 405.7 MB, free: 41.43 MB / 318.1 MB Notification: Performance of Inline: time 0.001008/0.01985, allocations: 1.591 MB / 407.3 MB, free: 39.88 MB / 318.1 MB Notification: Performance of Partitioning: time 7.194e-05/0.01993, allocations: 103.6 kB / 407.4 MB, free: 39.77 MB / 318.1 MB Notification: Performance of Cleanup: time 9.686e-05/0.02004, allocations: 187.6 kB / 407.6 MB, free: 39.58 MB / 318.1 MB Notification: Performance of Causalize: time 0.003528/0.02357, allocations: 6.373 MB / 414 MB, free: 33.45 MB / 318.1 MB Notification: Performance of Tearing: time 7.484e-06/0.02359, allocations: 0 / 414 MB, free: 33.45 MB / 318.1 MB Notification: Performance of Initialization: time 3.2e-07/0.02359, allocations: 0 / 414 MB, free: 33.45 MB / 318.1 MB Notification: Performance of Tearing: time 2.695e-06/0.0236, allocations: 8 kB / 414 MB, free: 33.45 MB / 318.1 MB Notification: Performance of Categorize: time 1.061e-05/0.02362, allocations: 7.922 kB / 414 MB, free: 33.44 MB / 318.1 MB Notification: Performance of Solve: time 0.000408/0.02403, allocations: 323.3 kB / 414.3 MB, free: 33.12 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0004238/0.02446, allocations: 0.8059 MB / 415.1 MB, free: 32.24 MB / 318.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: ........... 102 (scalar:102, 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: ........... 102 (scalar:102, 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 9.831e-05/0.02457, allocations: 80.72 kB / 415.2 MB, free: 32.18 MB / 318.1 MB Notification: Performance of SimCode: time 0.001357/0.02593, allocations: 2.885 MB / 418.1 MB, free: 29.22 MB / 318.1 MB Notification: Performance of Templates: time 0.005803/0.03174, allocations: 3.883 MB / 422 MB, free: 25.39 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/UnitDeduction/UnitDeduction.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.UnitDeduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches