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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 112.9 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.001375/0.001375, allocations: 190.4 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.243/1.243, allocations: 225.6 MB / 252.3 MB, free: 13.36 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.1849/0.1849, allocations: 44.92 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.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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=5004,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") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.312e-05, allocations: 4.531 kB / 495.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.005096/0.005109, allocations: 4.071 MB / 0.4883 GB, free: 13.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.00707, allocations: 1.227 MB / 0.4895 GB, free: 12.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/0.007291, allocations: 23.88 kB / 0.4895 GB, free: 12.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.007542, allocations: 118.7 kB / 0.4896 GB, free: 12.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004372/0.00798, allocations: 178.5 kB / 0.4898 GB, free: 12.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00067/0.00865, allocations: 394 kB / 0.4902 GB, free: 11.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009729/0.009623, allocations: 1.022 MB / 0.4912 GB, free: 10.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003389/0.009961, allocations: 209.5 kB / 0.4914 GB, free: 10.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004675/0.01043, allocations: 410.4 kB / 0.4918 GB, free: 10.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003251/0.01075, allocations: 330.2 kB / 0.4921 GB, free: 9.902 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.019e-05/0.01084, allocations: 68 kB / 0.4921 GB, free: 9.836 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.643e-05/0.01093, allocations: 71.94 kB / 0.4922 GB, free: 9.766 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0009444/0.01187, allocations: 1.309 MB / 0.4935 GB, free: 8.441 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005028/0.01238, allocations: 0.8081 MB / 0.4943 GB, free: 7.621 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.0125, allocations: 127.5 kB / 0.4944 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.0001136/0.01261, allocations: 63.64 kB / 0.4944 GB, free: 7.434 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: 132 (132) * Number of variables: 132 (132) Notification: Performance of Bindings: time 0.002394/0.015, allocations: 2.637 MB / 0.497 GB, free: 4.617 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0002595/0.01526, allocations: 273.1 kB / 0.4973 GB, free: 4.352 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0009864/0.01625, allocations: 0.9639 MB / 0.4982 GB, free: 3.352 MB / 366.1 MB Notification: Performance of Simplify 1: time 0.0002732/0.01652, allocations: 235.5 kB / 0.4985 GB, free: 3.09 MB / 366.1 MB Notification: Performance of Alias: time 0.003228/0.01975, allocations: 2.663 MB / 0.5011 GB, free: 20 kB / 366.1 MB Notification: Performance of Simplify 2: time 0.0001749/0.01993, allocations: 139.8 kB / 0.5012 GB, free: 15.85 MB / 382.1 MB Notification: Performance of Remove Stream: time 0.0001291/0.02005, allocations: 139.6 kB / 0.5013 GB, free: 15.69 MB / 382.1 MB Notification: Performance of Detect States: time 0.0003696/0.02042, allocations: 303 kB / 0.5016 GB, free: 15.36 MB / 382.1 MB Notification: Performance of Events: time 0.0001701/0.02059, allocations: 136.9 kB / 0.5017 GB, free: 15.22 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0003852/0.02098, allocations: 365.4 kB / 0.5021 GB, free: 14.83 MB / 382.1 MB Notification: Performance of Causalize: time 0.00132/0.0223, allocations: 1.095 MB / 0.5032 GB, free: 13.7 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005276/0.02283, allocations: 0.5463 MB / 0.5037 GB, free: 13.16 MB / 382.1 MB Notification: Performance of Simplify: time 0.000765/0.02359, allocations: 0.6008 MB / 0.5043 GB, free: 12.51 MB / 382.1 MB Notification: Performance of Inline: time 0.0008392/0.02443, allocations: 0.8584 MB / 0.5051 GB, free: 11.64 MB / 382.1 MB Notification: Performance of Partitioning: time 5.258e-05/0.02448, allocations: 31.62 kB / 0.5051 GB, free: 11.61 MB / 382.1 MB Notification: Performance of Cleanup: time 0.000278/0.02476, allocations: 343.5 kB / 0.5055 GB, free: 11.27 MB / 382.1 MB Notification: Performance of Causalize: time 0.004364/0.02913, allocations: 3.63 MB / 0.509 GB, free: 7.609 MB / 382.1 MB Notification: Performance of Tearing: time 2.177e-05/0.02915, allocations: 11.94 kB / 0.509 GB, free: 7.598 MB / 382.1 MB Notification: Performance of Initialization: time 3.31e-07/0.02915, allocations: 0 / 0.509 GB, free: 7.598 MB / 382.1 MB Notification: Performance of Remove Dummies: time 5.239e-06/0.02915, allocations: 0 / 0.509 GB, free: 7.598 MB / 382.1 MB Notification: Performance of Tearing: time 2.485e-06/0.02916, allocations: 4 kB / 0.509 GB, free: 7.594 MB / 382.1 MB Notification: Performance of Categorize: time 9.669e-06/0.02917, allocations: 4 kB / 0.509 GB, free: 7.59 MB / 382.1 MB Notification: Performance of Solve: time 0.000424/0.02959, allocations: 247.1 kB / 0.5093 GB, free: 7.352 MB / 382.1 MB Notification: Performance of Jacobian: time 0.0006185/0.03021, allocations: 0.6583 MB / 0.5099 GB, free: 6.617 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) {} * Number of discrete variables: ................. 6 (6) {$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: ........... 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 (resizable: 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 (resizable: 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001071/0.03032, allocations: 58.33 kB / 0.51 GB, free: 6.562 MB / 382.1 MB Notification: Performance of SimCode: time 0.00225/0.03257, allocations: 2.676 MB / 0.5126 GB, free: 3.797 MB / 382.1 MB Notification: Performance of Templates: time 0.1606/0.1932, allocations: 3.999 MB / 0.5165 GB, free: 33.36 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.UnitDeduction.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.257707076147199]