Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.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) 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(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 117.1 kB / 17.76 MB, free: 5.277 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.001575/0.001576, allocations: 188.6 kB / 18.68 MB, free: 4.355 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.294/1.294, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.127e-05, allocations: 2.281 kB / 351.9 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003562/0.003592, allocations: 2.5 MB / 354.4 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.004848, allocations: 0.6661 MB / 355.1 MB, free: 104 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.005048, allocations: 4 kB / 355.1 MB, free: 100 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.00522, allocations: 35.64 kB / 355.1 MB, free: 64 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.005416, allocations: 79.33 kB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.0058, allocations: 83.78 kB / 355.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003716/0.006182, allocations: 318.7 kB / 355.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.00638, allocations: 88.84 kB / 355.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.006575, allocations: 107.6 kB / 355.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.006735, allocations: 115.5 kB / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.006779, allocations: 20 kB / 355.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.006898, allocations: 39.98 kB / 356 MB, free: 15.22 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000275/0.00718, allocations: 387.7 kB / 356.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001314/0.007318, allocations: 236.4 kB / 356.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.00739, allocations: 43.88 kB / 356.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.557e-05/0.007441, allocations: 8 kB / 356.6 MB, free: 14.55 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 (49) * Number of variables: 49 (49) Notification: Performance of Bindings: time 0.001086/0.008532, allocations: 1.152 MB / 357.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001175/0.008658, allocations: 63.88 kB / 357.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006008/0.009266, allocations: 0.6634 MB / 358.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simplify1: time 6.954e-05/0.009343, allocations: 59.94 kB / 358.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of Alias: time 0.001504/0.01085, allocations: 1.205 MB / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simplify2: time 5.853e-05/0.01092, allocations: 51.83 kB / 359.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001684/0.0111, allocations: 118.8 kB / 359.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of Events: time 0.0001225/0.01123, allocations: 63.88 kB / 360 MB, free: 10.9 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001703/0.01141, allocations: 168.3 kB / 360.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of Causalize: time 0.000677/0.0121, allocations: 0.5832 MB / 360.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003543/0.01247, allocations: 392.2 kB / 361.1 MB, free: 9.703 MB / 302.1 MB Notification: Performance of Inline: time 0.0006757/0.01315, allocations: 0.7152 MB / 361.8 MB, free: 8.953 MB / 302.1 MB Notification: Performance of Partitioning: time 4.199e-05/0.0132, allocations: 42.31 kB / 361.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of Cleanup: time 4.545e-05/0.01325, allocations: 31.91 kB / 361.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of Causalize: time 0.001019/0.01428, allocations: 0.8631 MB / 362.8 MB, free: 7.996 MB / 302.1 MB Notification: Performance of Tearing: time 0.0008058/0.01509, allocations: 0.7517 MB / 363.5 MB, free: 7.195 MB / 302.1 MB Notification: Performance of Initialization: time 9.52e-07/0.0151, allocations: 0 / 363.5 MB, free: 7.195 MB / 302.1 MB Notification: Performance of Tearing: time 0.0007005/0.01581, allocations: 0.7399 MB / 364.3 MB, free: 6.406 MB / 302.1 MB Notification: Performance of Categorize: time 1.191e-05/0.01583, allocations: 4 kB / 364.3 MB, free: 6.402 MB / 302.1 MB Notification: Performance of Solve: time 0.0001537/0.01599, allocations: 92.14 kB / 364.4 MB, free: 6.312 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0003337/0.01633, allocations: 409.9 kB / 364.8 MB, free: 5.875 MB / 302.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: ............... 1 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {Capacitor1.v, HeatCapacitor1.T} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {$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: ........... 17 (scalar:17, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 26 (scalar:26, 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: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 6.117e-05/0.0164, allocations: 29.56 kB / 364.8 MB, free: 5.848 MB / 302.1 MB Notification: Performance of SimCode: time 0.00123/0.01763, allocations: 1.517 MB / 366.3 MB, free: 4.312 MB / 302.1 MB Notification: Performance of Templates: time 0.00561/0.02325, allocations: 2.422 MB / 368.7 MB, free: 1.891 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches