Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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.001405/0.001405, allocations: 116.9 kB / 18.41 MB, free: 4.664 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.001323/0.001323, allocations: 190.9 kB / 21.35 MB, free: 1.734 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.435/1.435, allocations: 222.9 MB / 247 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] 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.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 47.92 kB / 358.7 MB, free: 8.305 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.09929, allocations: 49.43 MB / 408.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.00838/0.1077, allocations: 6.222 MB / 414.3 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004784/0.1126, allocations: 1.651 MB / 416 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.114, allocations: 47.81 kB / 416 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.1151, allocations: 293.6 kB / 416.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.1173, allocations: 425.2 kB / 416.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1184, allocations: 335.6 kB / 417 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003391/0.1218, allocations: 2.141 MB / 419.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003723/0.1256, allocations: 2.445 MB / 421.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.1273, allocations: 1.032 MB / 422.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002255/0.1296, allocations: 1.214 MB / 423.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007497/0.1304, allocations: 292 kB / 424.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.1316, allocations: 431.7 kB / 424.6 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.1326, allocations: 0.6974 MB / 425.3 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00175/0.1344, allocations: 1.233 MB / 426.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00416/0.1386, allocations: 3.636 MB / 430.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.1386, allocations: 0 / 430.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1386, allocations: 0 / 430.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001118/0.1387, allocations: 0 / 430.2 MB, free: 0.6289 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.1944/0.3332, allocations: 2.523 MB / 432.7 MB, free: 21.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3332, allocations: 14.73 kB / 432.7 MB, free: 21.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000609/0.3338, allocations: 240.1 kB / 432.9 MB, free: 21.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.3358, allocations: 1.294 MB / 434.2 MB, free: 20.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.162e-05/0.3359, allocations: 159 kB / 434.4 MB, free: 20.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002653/0.3362, allocations: 201.5 kB / 434.6 MB, free: 20.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004312/0.3405, allocations: 2.614 MB / 437.2 MB, free: 20.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.167e-05/0.3406, allocations: 0 / 437.2 MB, free: 20.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/0.3408, allocations: 90.16 kB / 437.3 MB, free: 20.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.009e-05/0.3409, allocations: 55.03 kB / 437.3 MB, free: 20.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003473/0.3444, allocations: 2.084 MB / 439.4 MB, free: 20.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/0.3545, allocations: 7.308 MB / 446.7 MB, free: 17.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.3564, allocations: 2.36 MB / 449.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.3577, allocations: 0.9386 MB / 450 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.1e-05/0.3578, allocations: 9.75 kB / 450 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.3578, allocations: 39.94 kB / 450.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 3.196e-06/0.3578, allocations: 4 kB / 450.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.007085/0.3649, allocations: 4.214 MB / 454.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.365, allocations: 61.78 kB / 454.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009882/0.3659, allocations: 0.8612 MB / 455.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.366, allocations: 44.58 kB / 455.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.3663, allocations: 0.8493 MB / 456.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.3665, allocations: 340.6 kB / 456.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.3668, allocations: 180.8 kB / 456.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.109e-05/0.3668, allocations: 353.3 kB / 457 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006753/0.3675, allocations: 495.3 kB / 457.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007334/0.3683, allocations: 0.6677 MB / 458.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.3696, allocations: 1.206 MB / 459.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3696, allocations: 4 kB / 459.3 MB, free: 9.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002139/0.3717, allocations: 1.623 MB / 460.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3718, allocations: 7.906 kB / 460.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.3718, allocations: 9.562 kB / 461 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009695/0.3728, allocations: 464.6 kB / 461.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.3734, allocations: 177.5 kB / 461.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006639/0.3801, allocations: 9.301 MB / 470.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006733/0.3808, allocations: 48.52 kB / 470.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.557e-05/0.3809, allocations: 32.25 kB / 471 MB, free: 14.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001058/0.3819, allocations: 0.6418 MB / 471.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.3821, allocations: 103.3 kB / 471.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.3824, allocations: 134 kB / 471.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.483e-05/0.3825, allocations: 16.06 kB / 471.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.3825, allocations: 7.938 kB / 471.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.3825, allocations: 3.984 kB / 471.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005927/0.3884, allocations: 3.485 MB / 475.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.3885, allocations: 0 / 475.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005902/0.3891, allocations: 131.8 kB / 475.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.3901, allocations: 455.5 kB / 475.9 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-05/0.3902, allocations: 16 kB / 475.9 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009488/0.3997, allocations: 9.207 MB / 485.1 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3997, allocations: 3.984 kB / 485.1 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/0.4035, allocations: 2.312 MB / 487.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005667/0.4041, allocations: 280.4 kB / 487.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.4042, allocations: 24.08 kB / 487.8 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.4047, allocations: 52.02 kB / 487.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/0.4049, allocations: 80.88 kB / 487.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-05/0.405, allocations: 27.94 kB / 487.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008297/0.4058, allocations: 0.6122 MB / 488.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.923e-06/0.4059, allocations: 0 / 488.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00149/0.4073, allocations: 391.5 kB / 488.9 MB, free: 12.21 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002778/0.4076, allocations: 153.2 kB / 489.1 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002846/0.4105, allocations: 1.826 MB / 490.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4105, allocations: 1.312 kB / 490.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001776/0.4123, allocations: 1.239 MB / 492.1 MB, free: 8.887 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.4137, allocations: 293.5 kB / 492.4 MB, free: 8.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006102/0.4198, allocations: 3.65 MB / 496.1 MB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/0.4214, allocations: 1.683 MB / 497.7 MB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.4217, allocations: 71.42 kB / 497.8 MB, free: 3.152 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4217, allocations: 0 / 497.8 MB, free: 3.152 MB / 382.1 MB Notification: Performance of Templates: time 0.06898/0.4907, allocations: 58.58 MB / 0.5434 GB, free: 8.578 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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: 12.194976156926714]