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.001293/0.001293, allocations: 111.2 kB / 18.41 MB, free: 4.691 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.001227/0.001227, allocations: 183.3 kB / 19.33 MB, free: 3.777 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.272/1.272, 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.001231/0.001231, allocations: 51.94 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06938/0.07062, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.1524/0.223, allocations: 6.182 MB / 382 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.2257, allocations: 1.687 MB / 383.7 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004019/0.2261, allocations: 39.31 kB / 383.7 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004847/0.2266, allocations: 292 kB / 384 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.2276, allocations: 425.8 kB / 384.4 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000627/0.2283, allocations: 346.2 kB / 384.8 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001765/0.2301, allocations: 2.16 MB / 386.9 MB, free: 8.078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00221/0.2323, allocations: 2.386 MB / 389.3 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.2334, allocations: 1.024 MB / 390.3 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.235, allocations: 1.215 MB / 391.6 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003696/0.2353, allocations: 290.9 kB / 391.8 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007441/0.2361, allocations: 426 kB / 392.3 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005536/0.2366, allocations: 0.7028 MB / 393 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001191/0.2378, allocations: 1.227 MB / 394.2 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003318/0.2412, allocations: 3.628 MB / 397.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2412, allocations: 0 / 397.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2412, allocations: 4 kB / 397.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.437e-05/0.2413, allocations: 0 / 397.8 MB, free: 3.336 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.004517/0.2458, allocations: 2.457 MB / 400.3 MB, free: 1.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.2459, allocations: 13.48 kB / 400.3 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000418/0.2463, allocations: 232.3 kB / 400.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.248, allocations: 1.18 MB / 401.7 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.875e-05/0.2481, allocations: 156.2 kB / 401.8 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002747/0.2484, allocations: 203.4 kB / 402 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00399/0.2524, allocations: 2.617 MB / 404.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.288e-05/0.2525, allocations: 5.766 kB / 404.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/0.2527, allocations: 80.91 kB / 404.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-05/0.2527, allocations: 52.66 kB / 404.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003368/0.2561, allocations: 2.083 MB / 406.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01046/0.2666, allocations: 7.309 MB / 414.2 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/0.2688, allocations: 2.357 MB / 416.5 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/0.2702, allocations: 0.9433 MB / 417.5 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.481e-05/0.2703, allocations: 17 kB / 417.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.2703, allocations: 51.38 kB / 417.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=96): time 3.397e-06/0.2704, allocations: 0 / 417.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=97): time 0.007754/0.2781, allocations: 4.177 MB / 421.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.2782, allocations: 64.41 kB / 421.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.2793, allocations: 0.8679 MB / 422.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-05/0.2794, allocations: 41.7 kB / 422.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005179/0.2799, allocations: 0.8255 MB / 423.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/0.2802, allocations: 327.3 kB / 423.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.2805, allocations: 175.1 kB / 424 MB, free: 14.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2806, allocations: 345.9 kB / 424.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007707/0.2814, allocations: 497.7 kB / 424.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008837/0.2823, allocations: 0.6733 MB / 425.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.2839, allocations: 1.197 MB / 426.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.2839, allocations: 4 kB / 426.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002577/0.2865, allocations: 1.628 MB / 428.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.2865, allocations: 8 kB / 428.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.2866, allocations: 7.984 kB / 428.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.2877, allocations: 463 kB / 428.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006898/0.2884, allocations: 175.7 kB / 429 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009054/0.2974, allocations: 9.286 MB / 438.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007436/0.2982, allocations: 47.95 kB / 438.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.2984, allocations: 39.98 kB / 438.4 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.001086/0.2994, allocations: 0.638 MB / 439 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/0.2998, allocations: 102.8 kB / 439.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.3001, allocations: 134 kB / 439.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.3001, allocations: 11.91 kB / 439.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.3001, allocations: 0 / 439.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005673/0.3007, allocations: 280.2 kB / 439.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/0.3009, allocations: 24 kB / 439.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000534/0.3015, allocations: 43.95 kB / 439.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/0.3017, allocations: 76.81 kB / 439.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003544/0.3052, allocations: 1.808 MB / 441.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00286/0.3081, allocations: 2.018 MB / 443.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008101/0.3089, allocations: 0.5777 MB / 444.1 MB, free: 9.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009205/0.3099, allocations: 0.6083 MB / 444.7 MB, free: 9.148 MB / 366.1 MB Notification: Performance of Backend: time 3.31e-07/0.3099, allocations: 0 / 444.7 MB, free: 9.148 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002754/0.3126, allocations: 1.448 MB / 446.1 MB, free: 7.637 MB / 366.1 MB Notification: Performance of SimCode: time 0.006222/0.3189, allocations: 4.003 MB / 450.1 MB, free: 3.566 MB / 366.1 MB Notification: Performance of Templates: time 0.03369/0.3526, allocations: 20.2 MB / 470.3 MB, free: 15.32 MB / 398.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