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.001009/0.001009, allocations: 104.5 kB / 16.92 MB, free: 6.199 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.0009817/0.0009817, allocations: 191.4 kB / 17.85 MB, free: 5.301 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.304/1.304, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 54.33 kB / 300.6 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0928/0.09386, allocations: 49.44 MB / 350 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.00718/0.1011, allocations: 6.229 MB / 356.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002601/0.1037, allocations: 1.651 MB / 357.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003416/0.1041, allocations: 39.88 kB / 358 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004829/0.1046, allocations: 301.5 kB / 358.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009019/0.1055, allocations: 425.2 kB / 358.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.106, allocations: 339.6 kB / 359 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.1077, allocations: 2.125 MB / 361.1 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002229/0.1099, allocations: 2.438 MB / 363.6 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009335/0.1108, allocations: 1.02 MB / 364.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.112, allocations: 1.222 MB / 365.8 MB, free: 4.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003088/0.1124, allocations: 292 kB / 366.1 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005918/0.113, allocations: 427.8 kB / 366.5 MB, free: 3.828 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000524/0.1135, allocations: 0.713 MB / 367.2 MB, free: 3.113 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.1145, allocations: 1.225 MB / 368.4 MB, free: 1.883 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1441/0.2586, allocations: 3.585 MB / 372 MB, free: 16.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2587, allocations: 0 / 372 MB, free: 16.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2587, allocations: 1.438 kB / 372 MB, free: 16.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001262/0.2588, allocations: 0 / 372 MB, free: 16.09 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.004694/0.2635, allocations: 2.471 MB / 374.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.2636, allocations: 14.47 kB / 374.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005337/0.2641, allocations: 228.9 kB / 374.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.2659, allocations: 1.247 MB / 376 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.266, allocations: 153.6 kB / 376.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002843/0.2663, allocations: 205.3 kB / 376.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004429/0.2708, allocations: 2.616 MB / 379 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.871e-05/0.2708, allocations: 4.625 kB / 379 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/0.271, allocations: 86.28 kB / 379 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.139e-05/0.2711, allocations: 52.97 kB / 379.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003235/0.2743, allocations: 2.082 MB / 381.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01374/0.2881, allocations: 7.394 MB / 388.6 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002834/0.291, allocations: 2.347 MB / 390.9 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/0.293, allocations: 0.9252 MB / 391.8 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-05/0.2931, allocations: 14.17 kB / 391.9 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.2931, allocations: 50.09 kB / 391.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 4.759e-06/0.2931, allocations: 0 / 391.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.01059/0.3037, allocations: 4.177 MB / 396.1 MB, free: 4.102 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.3038, allocations: 61.31 kB / 396.1 MB, free: 4.035 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.3052, allocations: 0.87 MB / 397 MB, free: 3.551 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.51e-05/0.3053, allocations: 41.45 kB / 397.1 MB, free: 3.508 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004795/0.3058, allocations: 0.8256 MB / 397.9 MB, free: 2.781 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.306, allocations: 332 kB / 398.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003451/0.3064, allocations: 178.4 kB / 398.4 MB, free: 2.395 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.3065, allocations: 345.6 kB / 398.7 MB, free: 2.062 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000962/0.3074, allocations: 497.1 kB / 399.2 MB, free: 1.816 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.3085, allocations: 0.6684 MB / 399.9 MB, free: 1.348 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002111/0.3107, allocations: 1.198 MB / 401.1 MB, free: 436 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.3107, allocations: 0 / 401.1 MB, free: 436 kB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003843/0.3145, allocations: 1.635 MB / 402.7 MB, free: 14.81 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.3146, allocations: 8 kB / 402.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.3146, allocations: 4 kB / 402.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/0.3162, allocations: 472.7 kB / 403.2 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009872/0.3172, allocations: 176.5 kB / 403.4 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.3303, allocations: 9.287 MB / 412.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.3315, allocations: 47.95 kB / 412.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.3317, allocations: 36 kB / 412.7 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.001378/0.3331, allocations: 0.6413 MB / 413.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.3334, allocations: 99.25 kB / 413.5 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.3337, allocations: 136.6 kB / 413.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-05/0.3337, allocations: 12 kB / 413.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/0.3338, allocations: 7.984 kB / 413.6 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.3338, allocations: 3.984 kB / 413.6 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009265/0.3431, allocations: 3.501 MB / 417.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3431, allocations: 0 / 417.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008512/0.344, allocations: 125.2 kB / 417.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001537/0.3455, allocations: 448.7 kB / 417.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.3456, allocations: 27.98 kB / 417.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008887/0.3545, allocations: 9.214 MB / 426.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3546, allocations: 0 / 426.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/0.3584, allocations: 2.301 MB / 429.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006613/0.3591, allocations: 279.9 kB / 429.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/0.3593, allocations: 27.94 kB / 429.5 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000581/0.3599, allocations: 47.86 kB / 429.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/0.3602, allocations: 91.44 kB / 429.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.41e-05/0.3603, allocations: 23.98 kB / 429.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001033/0.3613, allocations: 0.6083 MB / 430.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3613, allocations: 0 / 430.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002236/0.3636, allocations: 380 kB / 430.7 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.0004462/0.364, allocations: 154 kB / 430.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003954/0.368, allocations: 2.092 MB / 432.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.368, allocations: 0 / 432.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00189/0.3699, allocations: 1.253 MB / 434.2 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.001796/0.3717, allocations: 304.2 kB / 434.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006955/0.3787, allocations: 3.618 MB / 438.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001803/0.3805, allocations: 1.718 MB / 439.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007171/0.3813, allocations: 192.9 kB / 440 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.3815, allocations: 71.42 kB / 440 MB, free: 8.285 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3815, allocations: 0 / 440 MB, free: 8.285 MB / 350.1 MB Notification: Performance of Templates: time 0.03574/0.4173, allocations: 20.71 MB / 460.8 MB, free: 3.867 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