Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008457/0.000846, allocations: 95.22 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001154/0.001154, allocations: 206.7 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.7 MB / 247.5 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002219/0.0002216, allocations: 8 kB / 308.4 MB, free: 0.8672 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0949/0.09514, allocations: 51.53 MB / 359.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.006083/0.1013, allocations: 5.737 MB / 365.6 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003179/0.1045, allocations: 1.655 MB / 367.3 MB, free: 5.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008401/0.1053, allocations: 39.88 kB / 367.3 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007549/0.1061, allocations: 234.4 kB / 367.6 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.1077, allocations: 377.9 kB / 367.9 MB, free: 5.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008151/0.1085, allocations: 303.7 kB / 368.2 MB, free: 4.973 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002464/0.111, allocations: 2.266 MB / 370.5 MB, free: 2.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002703/0.1137, allocations: 2.026 MB / 372.5 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1735/0.2872, allocations: 0.7355 MB / 373.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.289, allocations: 0.9646 MB / 374.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.2893, allocations: 119.2 kB / 374.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006187/0.29, allocations: 235.8 kB / 374.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004866/0.2905, allocations: 0.4899 MB / 375.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.2917, allocations: 1.02 MB / 376.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003289/0.295, allocations: 2.902 MB / 379 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.295, allocations: 0 / 379 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2951, allocations: 3.188 kB / 379 MB, free: 9.859 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.242e-05/0.2951, allocations: 0 / 379 MB, free: 9.859 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.003785/0.2989, allocations: 2.103 MB / 381.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.299, allocations: 13.66 kB / 381.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000653/0.2996, allocations: 266.6 kB / 381.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.3013, allocations: 1.258 MB / 382.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.715e-05/0.3014, allocations: 155.4 kB / 382.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002846/0.3017, allocations: 201.5 kB / 383 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004156/0.3059, allocations: 2.627 MB / 385.6 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.983e-05/0.3059, allocations: 0 / 385.6 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/0.3061, allocations: 87.62 kB / 385.7 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.055e-05/0.3062, allocations: 56.31 kB / 385.7 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00331/0.3095, allocations: 2.097 MB / 387.8 MB, free: 6.777 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009538/0.319, allocations: 7.447 MB / 395.3 MB, free: 1.711 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.321, allocations: 2.359 MB / 397.6 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.3224, allocations: 0.9327 MB / 398.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.737e-05/0.3225, allocations: 8.734 kB / 398.6 MB, free: 15.28 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.3225, allocations: 52.91 kB / 398.6 MB, free: 15.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 3.006e-06/0.3226, allocations: 1.312 kB / 398.6 MB, free: 15.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.007359/0.3299, allocations: 4.218 MB / 402.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.33, allocations: 66.17 kB / 402.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.3311, allocations: 0.875 MB / 403.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.338e-05/0.3312, allocations: 46.33 kB / 403.8 MB, free: 12.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005261/0.3317, allocations: 0.8367 MB / 404.7 MB, free: 11.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.332, allocations: 327.5 kB / 405 MB, free: 10.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.3321, allocations: 86.77 kB / 405.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3322, allocations: 341.9 kB / 405.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007664/0.333, allocations: 0.4938 MB / 405.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008898/0.3339, allocations: 0.6773 MB / 406.6 MB, free: 9.281 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.3356, allocations: 1.211 MB / 407.8 MB, free: 8.023 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3356, allocations: 0 / 407.8 MB, free: 8.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002604/0.3382, allocations: 1.647 MB / 409.4 MB, free: 6.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3383, allocations: 5.031 kB / 409.4 MB, free: 6.391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.3383, allocations: 12 kB / 409.5 MB, free: 6.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.3393, allocations: 470.6 kB / 409.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/0.34, allocations: 178.3 kB / 410.1 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008235/0.3483, allocations: 8.455 MB / 418.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006281/0.3489, allocations: 49.92 kB / 418.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.31e-05/0.349, allocations: 39.92 kB / 418.6 MB, free: 12.72 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.001167/0.3502, allocations: 0.6429 MB / 419.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.3504, allocations: 110.8 kB / 419.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.3507, allocations: 130.1 kB / 419.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.259e-05/0.3507, allocations: 12 kB / 419.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/0.3507, allocations: 4 kB / 419.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.3508, allocations: 3.984 kB / 419.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005637/0.3564, allocations: 3.536 MB / 423.1 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3564, allocations: 3.938 kB / 423.1 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/0.357, allocations: 129.2 kB / 423.2 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009649/0.3579, allocations: 460.6 kB / 423.6 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.358, allocations: 23.98 kB / 423.7 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008036/0.3661, allocations: 8.379 MB / 432 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3661, allocations: 4.062 kB / 432.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00347/0.3696, allocations: 2.319 MB / 434.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004872/0.3701, allocations: 283.8 kB / 434.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.3702, allocations: 16 kB / 434.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.3707, allocations: 49.53 kB / 434.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.3709, allocations: 88.75 kB / 434.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/0.3709, allocations: 29 kB / 434.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008153/0.3717, allocations: 0.6161 MB / 435.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3718, allocations: 0 / 435.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00159/0.3734, allocations: 380 kB / 435.8 MB, free: 10.98 MB / 350.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.0002809/0.3736, allocations: 143.6 kB / 436 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002655/0.3763, allocations: 1.83 MB / 437.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.3763, allocations: 1.312 kB / 437.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001655/0.378, allocations: 1.241 MB / 439 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.3794, allocations: 277.3 kB / 439.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006301/0.3857, allocations: 4.574 MB / 443.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/0.3871, allocations: 1.691 MB / 445.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.3873, allocations: 67.44 kB / 445.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3873, allocations: 0 / 445.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of Templates: time 0.06075/0.448, allocations: 58.41 MB / 0.4922 GB, free: 6.648 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches