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.001439/0.001439, allocations: 109 kB / 16.51 MB, free: 6.707 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.001548/0.001548, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.35/1.35, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 47.08 kB / 299.9 MB, free: 6.305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1104, allocations: 49.46 MB / 349.4 MB, free: 4.848 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007165/0.1176, allocations: 6.19 MB / 355.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00298/0.1206, allocations: 1.624 MB / 357.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004047/0.1211, allocations: 43.81 kB / 357.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005303/0.1216, allocations: 234.4 kB / 357.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009558/0.1226, allocations: 381.9 kB / 357.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.1231, allocations: 291.8 kB / 358.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001962/0.1251, allocations: 2.27 MB / 360.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002226/0.1273, allocations: 2.038 MB / 362.4 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009847/0.1283, allocations: 0.8913 MB / 363.3 MB, free: 6.777 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.1296, allocations: 1.159 MB / 364.5 MB, free: 5.613 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002541/0.1299, allocations: 192 kB / 364.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005669/0.1304, allocations: 335.7 kB / 365 MB, free: 5.098 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005054/0.1309, allocations: 0.5958 MB / 365.6 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.132, allocations: 1.127 MB / 366.7 MB, free: 3.367 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1714/0.3034, allocations: 3.501 MB / 370.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3034, allocations: 0.8125 kB / 370.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3035, allocations: 0 / 370.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001211/0.3036, allocations: 0 / 370.2 MB, free: 14.85 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.0045/0.3081, allocations: 2.47 MB / 372.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3081, allocations: 13.03 kB / 372.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004259/0.3086, allocations: 228.7 kB / 372.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.3104, allocations: 1.244 MB / 374.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-05/0.3105, allocations: 151 kB / 374.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.3108, allocations: 205.6 kB / 374.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003977/0.3148, allocations: 2.619 MB / 377.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/0.3148, allocations: 1.656 kB / 377.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/0.315, allocations: 83.19 kB / 377.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.993e-05/0.315, allocations: 50.84 kB / 377.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003416/0.3185, allocations: 2.091 MB / 379.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009923/0.3284, allocations: 7.386 MB / 386.8 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.3302, allocations: 2.354 MB / 389.1 MB, free: 7.156 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.3314, allocations: 0.9311 MB / 390 MB, free: 6.766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.916e-05/0.3315, allocations: 10.34 kB / 390.1 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.3315, allocations: 42.12 kB / 390.1 MB, free: 6.715 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 3.597e-06/0.3315, allocations: 4 kB / 390.1 MB, free: 6.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.006552/0.3381, allocations: 4.178 MB / 394.3 MB, free: 4.164 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.3381, allocations: 61.03 kB / 394.3 MB, free: 4.098 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008673/0.339, allocations: 0.8636 MB / 395.2 MB, free: 3.617 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.3391, allocations: 40.92 kB / 395.2 MB, free: 3.574 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.3394, allocations: 0.8294 MB / 396.1 MB, free: 2.844 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.3395, allocations: 329.7 kB / 396.4 MB, free: 2.566 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.3397, allocations: 174.7 kB / 396.6 MB, free: 2.465 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.797e-05/0.3398, allocations: 345.6 kB / 396.9 MB, free: 2.133 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005946/0.3404, allocations: 0.4904 MB / 397.4 MB, free: 1.883 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006496/0.3411, allocations: 0.6746 MB / 398.1 MB, free: 1.414 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.3423, allocations: 1.199 MB / 399.3 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3423, allocations: 2.656 kB / 399.3 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002298/0.3446, allocations: 1.622 MB / 400.9 MB, free: 15.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3447, allocations: 8 kB / 400.9 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.3447, allocations: 8 kB / 400.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.3458, allocations: 475.1 kB / 401.4 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.3464, allocations: 176.6 kB / 401.5 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008009/0.3544, allocations: 8.448 MB / 410 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000655/0.3551, allocations: 51.89 kB / 410 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.045e-05/0.3552, allocations: 42.34 kB / 410.1 MB, free: 5.492 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.0009732/0.3562, allocations: 0.6332 MB / 410.7 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.3564, allocations: 106.8 kB / 410.8 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.3566, allocations: 130 kB / 411 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/0.3566, allocations: 12 kB / 411 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.3567, allocations: 0 / 411 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3567, allocations: 7.984 kB / 411 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005612/0.3623, allocations: 3.498 MB / 414.5 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.3623, allocations: 8.062 kB / 414.5 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/0.3629, allocations: 125.4 kB / 414.6 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/0.3643, allocations: 452.5 kB / 415 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.379e-05/0.3644, allocations: 20 kB / 415.1 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009279/0.3737, allocations: 8.361 MB / 423.4 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3737, allocations: 0 / 423.4 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00352/0.3772, allocations: 2.302 MB / 425.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000477/0.3777, allocations: 283.8 kB / 426 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.3779, allocations: 27.91 kB / 426 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.3783, allocations: 40.08 kB / 426.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/0.3785, allocations: 95.42 kB / 426.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-05/0.3786, allocations: 24 kB / 426.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007972/0.3794, allocations: 0.6083 MB / 426.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3794, allocations: 0 / 426.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001494/0.3809, allocations: 384 kB / 427.2 MB, free: 3.852 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.0003472/0.3813, allocations: 150.7 kB / 427.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003522/0.3848, allocations: 1.806 MB / 429.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3848, allocations: 448 / 429.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.3864, allocations: 1.237 MB / 430.4 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.3877, allocations: 275.2 kB / 430.6 MB, free: 336 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005893/0.3936, allocations: 4.494 MB / 435.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.3949, allocations: 1.718 MB / 436.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005049/0.3955, allocations: 188.9 kB / 437 MB, free: 9.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.3956, allocations: 63.44 kB / 437.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3956, allocations: 0 / 437.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of Templates: time 0.02996/0.4256, allocations: 19.64 MB / 456.7 MB, free: 6.434 MB / 366.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/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) Reference file matches