Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 114.5 kB / 17.94 MB, free: 5.672 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.001766/0.001766, allocations: 193.8 kB / 18.86 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.1 MB / 224.7 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 43.94 kB / 280.8 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08134/0.08249, allocations: 46.63 MB / 327.4 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.006555/0.08909, allocations: 6.16 MB / 333.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00271/0.09182, allocations: 1.648 MB / 335.2 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003994/0.09224, allocations: 39.81 kB / 335.3 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004919/0.09276, allocations: 230.4 kB / 335.5 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009684/0.09374, allocations: 374 kB / 335.9 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.09428, allocations: 303.7 kB / 336.2 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001753/0.09604, allocations: 2.137 MB / 338.3 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002215/0.09827, allocations: 2.39 MB / 340.7 MB, free: 7.422 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.09929, allocations: 1.02 MB / 341.7 MB, free: 6.398 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.1005, allocations: 1.238 MB / 343 MB, free: 5.156 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002889/0.1008, allocations: 295.9 kB / 343.2 MB, free: 4.867 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005405/0.1014, allocations: 431.7 kB / 343.7 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004923/0.1019, allocations: 0.6974 MB / 344.4 MB, free: 3.746 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.1029, allocations: 1.225 MB / 345.6 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002161/0.1051, allocations: 2.997 MB / 348.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1051, allocations: 0 / 348.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1051, allocations: 4 kB / 348.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.002e-05/0.1051, allocations: 0 / 348.6 MB, free: 15.51 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.003667/0.1088, allocations: 2.472 MB / 351.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1089, allocations: 11.89 kB / 351.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003497/0.1092, allocations: 234.2 kB / 351.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.1107, allocations: 1.166 MB / 352.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.1108, allocations: 152.5 kB / 352.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.1111, allocations: 208.1 kB / 352.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003755/0.1148, allocations: 2.618 MB / 355.4 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.1149, allocations: 0 / 355.4 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.1151, allocations: 87.94 kB / 355.5 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.069e-05/0.1151, allocations: 52 kB / 355.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00304/0.1182, allocations: 2.081 MB / 357.7 MB, free: 6.223 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009274/0.1275, allocations: 7.412 MB / 365.1 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/0.1295, allocations: 2.354 MB / 367.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/0.1308, allocations: 0.9433 MB / 368.4 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/0.1309, allocations: 12.94 kB / 368.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.1309, allocations: 43.56 kB / 368.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 3.246e-06/0.1309, allocations: 0 / 368.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.006939/0.1379, allocations: 4.177 MB / 372.6 MB, free: 6.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.1379, allocations: 68.34 kB / 372.7 MB, free: 6.652 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.1389, allocations: 0.8641 MB / 373.5 MB, free: 5.777 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.139, allocations: 41.7 kB / 373.6 MB, free: 5.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004755/0.1395, allocations: 0.8294 MB / 374.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.1397, allocations: 331.2 kB / 374.7 MB, free: 4.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.14, allocations: 174.6 kB / 374.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1401, allocations: 345.9 kB / 375.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006856/0.1408, allocations: 497.6 kB / 375.7 MB, free: 3.551 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00079/0.1416, allocations: 0.6733 MB / 376.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.1431, allocations: 1.201 MB / 377.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1431, allocations: 4 kB / 377.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.1429/0.286, allocations: 1.612 MB / 379.2 MB, free: 51.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.2861, allocations: 9.75 kB / 379.2 MB, free: 51.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.2861, allocations: 9.5 kB / 379.2 MB, free: 51.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.2873, allocations: 464.5 kB / 379.7 MB, free: 51.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008139/0.2881, allocations: 173.3 kB / 379.8 MB, free: 51.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007605/0.2957, allocations: 9.303 MB / 389.1 MB, free: 44.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006358/0.2964, allocations: 48.05 kB / 389.2 MB, free: 44.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.051e-05/0.2965, allocations: 36.66 kB / 389.2 MB, free: 44.6 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.0009106/0.2974, allocations: 0.6373 MB / 389.9 MB, free: 44.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.2976, allocations: 106.3 kB / 390 MB, free: 44.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.2978, allocations: 135.1 kB / 390.1 MB, free: 44.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/0.2978, allocations: 12.31 kB / 390.1 MB, free: 44.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.2979, allocations: 1.125 kB / 390.1 MB, free: 44.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.2979, allocations: 5.875 kB / 390.1 MB, free: 44.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005185/0.3031, allocations: 3.495 MB / 393.6 MB, free: 42.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.3031, allocations: 5.625 kB / 393.6 MB, free: 42.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005191/0.3036, allocations: 120 kB / 393.7 MB, free: 42.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000864/0.3045, allocations: 463.8 kB / 394.2 MB, free: 42.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.745e-05/0.3046, allocations: 21 kB / 394.2 MB, free: 42.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00615/0.3107, allocations: 9.206 MB / 403.4 MB, free: 35.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3108, allocations: 1.812 kB / 403.4 MB, free: 35.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/0.3137, allocations: 2.308 MB / 405.7 MB, free: 34.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004186/0.3141, allocations: 283.4 kB / 406 MB, free: 33.81 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.3142, allocations: 24.91 kB / 406 MB, free: 33.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/0.3146, allocations: 39.23 kB / 406.1 MB, free: 33.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/0.3149, allocations: 91.73 kB / 406.2 MB, free: 33.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-05/0.3149, allocations: 20.53 kB / 406.2 MB, free: 33.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006269/0.3156, allocations: 0.6078 MB / 406.8 MB, free: 33.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3156, allocations: 0 / 406.8 MB, free: 33.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001289/0.3169, allocations: 383.1 kB / 407.2 MB, free: 33.34 MB / 318.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.0002293/0.3171, allocations: 142.2 kB / 407.3 MB, free: 33.22 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002632/0.3197, allocations: 2.091 MB / 409.4 MB, free: 32.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3197, allocations: 320 / 409.4 MB, free: 32.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.321, allocations: 1.246 MB / 410.6 MB, free: 31.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.3222, allocations: 306.2 kB / 410.9 MB, free: 31.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004847/0.3271, allocations: 4.48 MB / 415.4 MB, free: 26.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000845/0.3279, allocations: 1.684 MB / 417.1 MB, free: 24.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.3281, allocations: 71.42 kB / 417.2 MB, free: 24.89 MB / 318.1 MB Notification: Performance of SimCode: time 1.663e-06/0.3281, allocations: 3.938 kB / 417.2 MB, free: 24.88 MB / 318.1 MB Notification: Performance of Templates: time 0.05134/0.3795, allocations: 58.47 MB / 475.6 MB, free: 14.32 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches