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.001334/0.001334, allocations: 80.67 kB / 20.68 MB, free: 1.035 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.001342/0.001342, allocations: 154.9 kB / 23.94 MB, free: 4.176 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.391/1.391, allocations: 173.4 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 179] 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 2.204e-06/2.204e-06, allocations: 0 / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.534e-05, allocations: 6.281 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.006411/0.006437, allocations: 5.528 MB / 324.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004492/0.01093, allocations: 1.602 MB / 326.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.01196, allocations: 63.38 kB / 326.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007747/0.01274, allocations: 306.4 kB / 326.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.01459, allocations: 445.2 kB / 326.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.01559, allocations: 361.6 kB / 327.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002982/0.01857, allocations: 2.21 MB / 329.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001937/0.02051, allocations: 1.361 MB / 330.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002317/0.02282, allocations: 1.557 MB / 332.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.0246, allocations: 1.047 MB / 333.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003722/0.02497, allocations: 290.8 kB / 333.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008426/0.02582, allocations: 413.1 kB / 334.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007193/0.02653, allocations: 0.7246 MB / 334.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.02769, allocations: 0.85 MB / 335.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003937/0.03163, allocations: 3.676 MB / 339.3 MB, free: 6.949 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.03163, allocations: 5.062 kB / 339.3 MB, free: 6.945 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.03164, allocations: 0 / 339.3 MB, free: 6.945 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.775e-05/0.03172, allocations: 0 / 339.3 MB, free: 6.945 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.005092/0.03682, allocations: 2.431 MB / 341.7 MB, free: 4.727 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.03686, allocations: 8.031 kB / 341.8 MB, free: 4.719 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004752/0.03734, allocations: 239.5 kB / 342 MB, free: 4.484 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.03952, allocations: 1.234 MB / 343.2 MB, free: 3.219 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.03966, allocations: 156.5 kB / 343.4 MB, free: 3.062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/0.03996, allocations: 200.4 kB / 343.6 MB, free: 2.863 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004478/0.04444, allocations: 2.644 MB / 346.2 MB, free: 128 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/0.04448, allocations: 7.922 kB / 346.2 MB, free: 120 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/0.04468, allocations: 88 kB / 346.3 MB, free: 32 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-05/0.04477, allocations: 56.05 kB / 346.4 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003643/0.04841, allocations: 2.081 MB / 348.4 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01101/0.05942, allocations: 6.323 MB / 354.8 MB, free: 7.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.06143, allocations: 1.301 MB / 356.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.06308, allocations: 0.8971 MB / 357 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/0.06313, allocations: 9 kB / 357 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.469e-05/0.06319, allocations: 43.5 kB / 357 MB, free: 5.137 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 3.717e-06/0.0632, allocations: 0 / 357 MB, free: 5.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.008556/0.07175, allocations: 3.902 MB / 360.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.0718, allocations: 60.41 kB / 361 MB, free: 1.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.07305, allocations: 0.8288 MB / 361.8 MB, free: 288 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.255e-05/0.07312, allocations: 45.7 kB / 361.9 MB, free: 236 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006949/0.07382, allocations: 0.8553 MB / 362.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000291/0.07411, allocations: 337.1 kB / 363 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/0.07441, allocations: 178.6 kB / 363.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.0746, allocations: 349.9 kB / 363.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008276/0.07543, allocations: 493.7 kB / 364 MB, free: 14.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.07652, allocations: 0.6655 MB / 364.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.07847, allocations: 1.209 MB / 365.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.07847, allocations: 0 / 365.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003206/0.08168, allocations: 1.617 MB / 367.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.0817, allocations: 4 kB / 367.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.08172, allocations: 12 kB / 367.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.08298, allocations: 474.9 kB / 368 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007342/0.08371, allocations: 171.7 kB / 368.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.09396, allocations: 8.721 MB / 376.9 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007053/0.09467, allocations: 47.95 kB / 376.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.694e-05/0.09475, allocations: 36 kB / 377 MB, free: 0.5039 MB / 334.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.001155/0.09591, allocations: 0.638 MB / 377.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.09612, allocations: 103.3 kB / 377.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.09638, allocations: 141.8 kB / 377.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/0.09641, allocations: 8 kB / 377.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.09643, allocations: 4 kB / 377.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.09644, allocations: 3.984 kB / 377.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005809/0.1022, allocations: 3.05 MB / 380.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.1023, allocations: 7.984 kB / 380.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005956/0.1029, allocations: 119.9 kB / 381 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001096/0.1039, allocations: 454.9 kB / 381.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.041e-05/0.104, allocations: 27.98 kB / 381.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009685/0.1137, allocations: 8.632 MB / 390.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.1137, allocations: 0 / 390.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003769/0.1175, allocations: 2.293 MB / 392.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005371/0.118, allocations: 211.2 kB / 392.6 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.1181, allocations: 16 kB / 392.7 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/0.1186, allocations: 43.95 kB / 392.7 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/0.1188, allocations: 100.8 kB / 392.8 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.1189, allocations: 24.5 kB / 392.8 MB, free: 124 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008733/0.1198, allocations: 0.581 MB / 393.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1198, allocations: 0 / 393.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001542/0.1213, allocations: 384 kB / 393.8 MB, free: 15.16 MB / 366.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.0003102/0.1216, allocations: 149.7 kB / 393.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002873/0.1245, allocations: 1.777 MB / 395.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1245, allocations: 0 / 395.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.1263, allocations: 1.215 MB / 396.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.1276, allocations: 290.3 kB / 397.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005989/0.1336, allocations: 3.533 MB / 400.7 MB, free: 8.062 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/0.1349, allocations: 1.138 MB / 401.9 MB, free: 6.883 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004622/0.1354, allocations: 188.5 kB / 402.1 MB, free: 6.695 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.1356, allocations: 72.48 kB / 402.1 MB, free: 6.625 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1356, allocations: 4 kB / 402.1 MB, free: 6.621 MB / 366.1 MB Notification: Performance of Templates: time 0.03586/0.1714, allocations: 19.91 MB / 422.1 MB, free: 2.977 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.183714132755995]