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) 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.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001183/0.001183, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.389/1.389, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 51.31 kB / 301.3 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09009/0.09121, allocations: 49.45 MB / 350.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.00783/0.09908, allocations: 6.218 MB / 356.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003921/0.103, allocations: 1.647 MB / 358.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.1043, allocations: 43.88 kB / 358.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009988/0.1053, allocations: 293.5 kB / 358.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.1072, allocations: 433.2 kB / 359.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009706/0.1082, allocations: 339.6 kB / 359.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002462/0.1107, allocations: 2.125 MB / 361.8 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00332/0.114, allocations: 2.438 MB / 364.2 MB, free: 6.766 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.1154, allocations: 1.024 MB / 365.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/0.1174, allocations: 1.218 MB / 366.5 MB, free: 4.516 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006111/0.118, allocations: 296 kB / 366.8 MB, free: 4.227 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.1191, allocations: 427.8 kB / 367.2 MB, free: 3.809 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007811/0.1199, allocations: 0.7052 MB / 367.9 MB, free: 3.102 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.1212, allocations: 1.229 MB / 369.1 MB, free: 1.867 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1589/0.2801, allocations: 3.585 MB / 372.7 MB, free: 16.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2801, allocations: 0 / 372.7 MB, free: 16.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2801, allocations: 0 / 372.7 MB, free: 16.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001059/0.2803, allocations: 0.7812 kB / 372.7 MB, free: 16.07 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.005028/0.2853, allocations: 2.471 MB / 375.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2853, allocations: 10.31 kB / 375.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004879/0.2858, allocations: 229.9 kB / 375.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.2878, allocations: 1.244 MB / 376.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.2879, allocations: 155.2 kB / 376.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002855/0.2882, allocations: 205.3 kB / 377 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00443/0.2927, allocations: 2.614 MB / 379.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/0.2927, allocations: 3.375 kB / 379.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/0.2929, allocations: 86.5 kB / 379.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.446e-05/0.293, allocations: 55.61 kB / 379.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003457/0.2965, allocations: 2.082 MB / 381.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01021/0.3067, allocations: 7.396 MB / 389.2 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.3086, allocations: 2.348 MB / 391.6 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.3099, allocations: 0.9298 MB / 392.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.128e-05/0.31, allocations: 10.34 kB / 392.5 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.31, allocations: 53.44 kB / 392.6 MB, free: 6.652 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 3.306e-06/0.31, allocations: 0 / 392.6 MB, free: 6.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.007312/0.3173, allocations: 4.171 MB / 396.8 MB, free: 4.109 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.3174, allocations: 62.33 kB / 396.8 MB, free: 4.043 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009716/0.3184, allocations: 0.8704 MB / 397.7 MB, free: 3.555 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.663e-05/0.3184, allocations: 41.61 kB / 397.7 MB, free: 3.512 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/0.3188, allocations: 0.8269 MB / 398.6 MB, free: 2.781 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.3189, allocations: 330.8 kB / 398.9 MB, free: 2.504 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.3192, allocations: 177.1 kB / 399.1 MB, free: 2.402 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.473e-05/0.3192, allocations: 342.4 kB / 399.4 MB, free: 2.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/0.3199, allocations: 498 kB / 399.9 MB, free: 1.824 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006701/0.3206, allocations: 0.6742 MB / 400.5 MB, free: 1.352 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.3219, allocations: 1.199 MB / 401.7 MB, free: 432 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3219, allocations: 4 kB / 401.8 MB, free: 428 kB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002548/0.3245, allocations: 1.632 MB / 403.4 MB, free: 14.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.3245, allocations: 8 kB / 403.4 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.3245, allocations: 4 kB / 403.4 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.3256, allocations: 468.4 kB / 403.9 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006889/0.3263, allocations: 174.4 kB / 404 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00901/0.3353, allocations: 9.287 MB / 413.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008194/0.3362, allocations: 55.23 kB / 413.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.541e-05/0.3363, allocations: 32 kB / 413.4 MB, free: 4.297 MB / 318.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.001101/0.3374, allocations: 0.643 MB / 414 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.3377, allocations: 103.2 kB / 414.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.3379, allocations: 138 kB / 414.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.518e-05/0.338, allocations: 15.98 kB / 414.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.338, allocations: 0 / 414.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.338, allocations: 3.984 kB / 414.3 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00595/0.344, allocations: 3.496 MB / 417.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.344, allocations: 3.984 kB / 417.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005791/0.3446, allocations: 131.6 kB / 417.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009648/0.3456, allocations: 450.8 kB / 418.4 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.304e-05/0.3456, allocations: 24.05 kB / 418.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008688/0.3543, allocations: 9.206 MB / 427.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3544, allocations: 0 / 427.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003604/0.358, allocations: 2.313 MB / 429.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005748/0.3586, allocations: 279.9 kB / 430.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.3587, allocations: 23.94 kB / 430.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/0.3592, allocations: 43.95 kB / 430.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/0.3594, allocations: 92.17 kB / 430.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.054e-05/0.3595, allocations: 28 kB / 430.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008278/0.3603, allocations: 0.6044 MB / 431 MB, free: 2.148 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3603, allocations: 0 / 431 MB, free: 2.148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001673/0.362, allocations: 380 kB / 431.3 MB, free: 1.777 MB / 334.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.000314/0.3623, allocations: 153.2 kB / 431.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003531/0.3659, allocations: 2.096 MB / 433.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.3659, allocations: 0 / 433.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.3677, allocations: 1.248 MB / 434.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.3692, allocations: 299 kB / 435.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005889/0.3751, allocations: 3.611 MB / 438.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/0.3764, allocations: 1.683 MB / 440.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.3767, allocations: 71.42 kB / 440.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3767, allocations: 0 / 440.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of Templates: time 0.05893/0.4357, allocations: 58.45 MB / 498.9 MB, free: 14.11 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches