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.001494/0.001494, allocations: 109.4 kB / 18.4 MB, free: 4.695 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.001643/0.001643, allocations: 187.1 kB / 19.33 MB, free: 3.781 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.254/1.254, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001149/0.001149, allocations: 47.94 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07643/0.07758, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.1646/0.2422, allocations: 6.183 MB / 382 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003254/0.2455, allocations: 1.693 MB / 383.7 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006122/0.2461, allocations: 35.38 kB / 383.7 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005862/0.2468, allocations: 293.1 kB / 384 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.248, allocations: 424.4 kB / 384.4 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007083/0.2487, allocations: 349.7 kB / 384.8 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002143/0.2509, allocations: 2.161 MB / 386.9 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002339/0.2532, allocations: 2.38 MB / 389.3 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.2545, allocations: 1.028 MB / 390.3 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.2559, allocations: 1.211 MB / 391.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000333/0.2562, allocations: 289.7 kB / 391.8 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006857/0.2569, allocations: 429.6 kB / 392.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005257/0.2574, allocations: 0.7037 MB / 392.9 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.2585, allocations: 1.231 MB / 394.2 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003882/0.2624, allocations: 3.629 MB / 397.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2624, allocations: 0 / 397.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2624, allocations: 0 / 397.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.559e-05/0.2625, allocations: 1.062 kB / 397.8 MB, free: 3.32 MB / 318.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.004266/0.2668, allocations: 2.46 MB / 400.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2668, allocations: 12.98 kB / 400.3 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004065/0.2672, allocations: 229.2 kB / 400.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.2687, allocations: 1.184 MB / 401.7 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.049e-05/0.2688, allocations: 154.5 kB / 401.8 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002526/0.2691, allocations: 202.9 kB / 402 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003925/0.273, allocations: 2.616 MB / 404.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/0.2731, allocations: 3.984 kB / 404.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.2733, allocations: 81.69 kB / 404.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.548e-05/0.2733, allocations: 56.16 kB / 404.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003326/0.2767, allocations: 2.083 MB / 406.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01033/0.287, allocations: 7.306 MB / 414.2 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.2891, allocations: 2.352 MB / 416.5 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.2905, allocations: 0.9549 MB / 417.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.393e-05/0.2905, allocations: 13 kB / 417.5 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.2906, allocations: 51.48 kB / 417.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of pre-optimization done (n=96): time 3.216e-06/0.2906, allocations: 0 / 417.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=97): time 0.00717/0.2977, allocations: 4.166 MB / 421.7 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.2978, allocations: 68.39 kB / 421.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.2988, allocations: 0.8648 MB / 422.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-05/0.2989, allocations: 45.69 kB / 422.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004355/0.2994, allocations: 0.8255 MB / 423.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.2996, allocations: 327.3 kB / 423.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.2998, allocations: 178.6 kB / 424 MB, free: 14.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2999, allocations: 341.9 kB / 424.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006888/0.3006, allocations: 0.4898 MB / 424.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007914/0.3014, allocations: 0.6733 MB / 425.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.3029, allocations: 1.201 MB / 426.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.3029, allocations: 7.938 kB / 426.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002357/0.3053, allocations: 1.62 MB / 428.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.3053, allocations: 11.98 kB / 428.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.3054, allocations: 7.938 kB / 428.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009798/0.3063, allocations: 463 kB / 428.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006305/0.307, allocations: 175.8 kB / 429 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007892/0.3149, allocations: 9.281 MB / 438.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007264/0.3157, allocations: 44.03 kB / 438.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.489e-05/0.3157, allocations: 39.98 kB / 438.3 MB, free: 15.52 MB / 366.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.0009846/0.3167, allocations: 0.6418 MB / 439 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.3169, allocations: 102.8 kB / 439.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.3172, allocations: 134 kB / 439.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-05/0.3172, allocations: 23.86 kB / 439.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.3173, allocations: 0 / 439.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3173, allocations: 7.984 kB / 439.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004996/0.3223, allocations: 3.477 MB / 442.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3223, allocations: 4.062 kB / 442.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005275/0.3228, allocations: 127.7 kB / 442.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008733/0.3237, allocations: 451 kB / 443.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.772e-05/0.3238, allocations: 23.98 kB / 443.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007519/0.3313, allocations: 9.199 MB / 452.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3314, allocations: 3.984 kB / 452.5 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003179/0.3345, allocations: 2.308 MB / 454.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004774/0.335, allocations: 279.9 kB / 455.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.3352, allocations: 23.94 kB / 455.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.3356, allocations: 43.95 kB / 455.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.3358, allocations: 88.97 kB / 455.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.3359, allocations: 23.94 kB / 455.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007349/0.3366, allocations: 0.6122 MB / 455.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3366, allocations: 0 / 455.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001427/0.338, allocations: 376 kB / 456.3 MB, free: 12.89 MB / 382.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.0002587/0.3383, allocations: 155 kB / 456.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002416/0.3407, allocations: 1.82 MB / 458.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3407, allocations: 0 / 458.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.3422, allocations: 1.238 MB / 459.5 MB, free: 9.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.3435, allocations: 303.3 kB / 459.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00509/0.3486, allocations: 3.585 MB / 463.3 MB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/0.3498, allocations: 1.687 MB / 465 MB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.35, allocations: 71.42 kB / 465.1 MB, free: 3.84 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.35, allocations: 4 kB / 465.1 MB, free: 3.836 MB / 382.1 MB Notification: Performance of Templates: time 0.05337/0.4034, allocations: 58.58 MB / 0.5114 GB, free: 9.148 MB / 446.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches