Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001702/0.001702, allocations: 111 kB / 18.47 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001876/0.001876, allocations: 213.1 kB / 19.42 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.118/1.118, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1695/0.1695, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.501e-05, allocations: 2.281 kB / 481.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.004185/0.004208, allocations: 4.034 MB / 485.9 MB, free: 108 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.006263, allocations: 1.262 MB / 487.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/0.006638, allocations: 23.88 kB / 487.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.00692, allocations: 118.7 kB / 487.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000461/0.007388, allocations: 166.5 kB / 487.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006867/0.008088, allocations: 410.6 kB / 487.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000849/0.008946, allocations: 0.9282 MB / 488.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.009322, allocations: 301.6 kB / 489.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004015/0.00973, allocations: 330.6 kB / 489.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.01007, allocations: 318.2 kB / 489.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.987e-05/0.01017, allocations: 72 kB / 489.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.01029, allocations: 75.98 kB / 489.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0006664/0.01096, allocations: 1.2 MB / 491.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003985/0.01137, allocations: 0.7963 MB / 491.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.0115, allocations: 123.5 kB / 492 MB, free: 9.973 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.0001288/0.01163, allocations: 55.69 kB / 492.1 MB, free: 9.918 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.00251/0.01415, allocations: 3.309 MB / 495.4 MB, free: 6.445 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0001145/0.01427, allocations: 127.8 kB / 495.5 MB, free: 6.32 MB / 366.1 MB Notification: Performance of Early Inline: time 0.001336/0.01561, allocations: 1.604 MB / 497.1 MB, free: 4.684 MB / 366.1 MB Notification: Performance of simplify1: time 0.0001239/0.01574, allocations: 127.8 kB / 497.2 MB, free: 4.559 MB / 366.1 MB Notification: Performance of Alias: time 0.003097/0.01884, allocations: 3.159 MB / 0.4887 GB, free: 1.004 MB / 366.1 MB Notification: Performance of simplify2: time 9.285e-05/0.01894, allocations: 87.84 kB / 0.4888 GB, free: 0.918 MB / 366.1 MB Notification: Performance of Events: time 0.0001735/0.01912, allocations: 158.3 kB / 0.4889 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of Detect States: time 0.00035/0.01948, allocations: 411.5 kB / 0.4893 GB, free: 352 kB / 366.1 MB Notification: Performance of Partitioning: time 0.000342/0.01983, allocations: 365.6 kB / 0.4897 GB, free: 15.95 MB / 382.1 MB Notification: Performance of Causalize: time 0.001223/0.02106, allocations: 1.244 MB / 0.4909 GB, free: 14.67 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007005/0.02177, allocations: 0.8617 MB / 0.4917 GB, free: 13.78 MB / 382.1 MB Notification: Performance of Inline: time 0.001577/0.02335, allocations: 1.893 MB / 0.4936 GB, free: 11.85 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0001052/0.02347, allocations: 107.5 kB / 0.4937 GB, free: 11.73 MB / 382.1 MB Notification: Performance of Cleanup: time 0.0001648/0.02364, allocations: 187.6 kB / 0.4938 GB, free: 11.55 MB / 382.1 MB Notification: Performance of Causalize: time 0.004809/0.02845, allocations: 4.762 MB / 0.4985 GB, free: 6.762 MB / 382.1 MB Notification: Performance of Tearing: time 1.18e-05/0.02847, allocations: 0 / 0.4985 GB, free: 6.762 MB / 382.1 MB Notification: Performance of Initialization: time 3.61e-07/0.02848, allocations: 0 / 0.4985 GB, free: 6.762 MB / 382.1 MB Notification: Performance of Tearing: time 5.691e-06/0.02849, allocations: 4 kB / 0.4985 GB, free: 6.758 MB / 382.1 MB Notification: Performance of Categorize: time 8.656e-06/0.0285, allocations: 3.938 kB / 0.4985 GB, free: 6.754 MB / 382.1 MB Notification: Performance of Solve: time 0.0004711/0.02898, allocations: 327.3 kB / 0.4988 GB, free: 6.43 MB / 382.1 MB Notification: Performance of Jacobian: time 0.0005983/0.02958, allocations: 0.7795 MB / 0.4996 GB, free: 5.578 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: ......... 3 * 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: ................. 7 (7) {$SEV_5, $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: ........... 104 (scalar:104, 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: ........... 104 (scalar:104, 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 7.829e-05/0.02967, allocations: 69 kB / 0.4996 GB, free: 5.52 MB / 382.1 MB Notification: Performance of SimCode: time 0.001943/0.03162, allocations: 2.888 MB / 0.5025 GB, free: 2.547 MB / 382.1 MB Notification: Performance of Templates: time 0.142/0.1736, allocations: 4.096 MB / 0.5065 GB, free: 30.3 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.UnitDeduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches