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.00156/0.00156, allocations: 112.3 kB / 18.41 MB, free: 4.668 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.001776/0.001776, allocations: 190.1 kB / 19.34 MB, free: 3.742 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.357/1.357, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001189/0.001189, allocations: 51.94 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07109/0.07229, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.1505/0.2228, allocations: 6.179 MB / 382 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002983/0.2259, allocations: 1.689 MB / 383.7 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008278/0.2267, allocations: 39.31 kB / 383.7 MB, free: 10 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007098/0.2275, allocations: 305 kB / 384 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.2289, allocations: 432.2 kB / 384.5 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008104/0.2297, allocations: 345.1 kB / 384.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002294/0.232, allocations: 2.157 MB / 386.9 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002579/0.2346, allocations: 2.387 MB / 389.3 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.2358, allocations: 1.023 MB / 390.4 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.2371, allocations: 1.216 MB / 391.6 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003447/0.2375, allocations: 289.5 kB / 391.9 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006607/0.2381, allocations: 422.4 kB / 392.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005318/0.2387, allocations: 0.7102 MB / 393 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009977/0.2397, allocations: 1.23 MB / 394.2 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00304/0.2427, allocations: 3.638 MB / 397.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2428, allocations: 0 / 397.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2428, allocations: 0 / 397.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.944e-05/0.2428, allocations: 0 / 397.8 MB, free: 3.551 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.003619/0.2464, allocations: 2.519 MB / 400.4 MB, free: 1.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2465, allocations: 13.45 kB / 400.4 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003643/0.2469, allocations: 241.2 kB / 400.6 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.2483, allocations: 1.187 MB / 401.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/0.2484, allocations: 152.4 kB / 402 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002653/0.2487, allocations: 206.9 kB / 402.2 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003759/0.2525, allocations: 2.613 MB / 404.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.118e-05/0.2525, allocations: 1.094 kB / 404.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.2527, allocations: 81.97 kB / 404.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-05/0.2528, allocations: 56.17 kB / 404.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003307/0.2561, allocations: 2.082 MB / 407 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009978/0.2661, allocations: 7.328 MB / 414.3 MB, free: 8.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/0.2683, allocations: 2.35 MB / 416.7 MB, free: 6.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.2698, allocations: 0.9627 MB / 417.6 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.156e-05/0.2698, allocations: 9 kB / 417.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.2699, allocations: 43.5 kB / 417.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=96): time 2.965e-06/0.2699, allocations: 0 / 417.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=97): time 0.007296/0.2772, allocations: 4.211 MB / 421.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.2772, allocations: 61.34 kB / 421.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.2782, allocations: 0.8687 MB / 422.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/0.2783, allocations: 41.7 kB / 422.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005124/0.2788, allocations: 0.8436 MB / 423.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/0.2791, allocations: 345.1 kB / 424 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/0.2794, allocations: 182.5 kB / 424.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2795, allocations: 345.9 kB / 424.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007564/0.2803, allocations: 497.7 kB / 425 MB, free: 13.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008705/0.2812, allocations: 0.6772 MB / 425.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.2828, allocations: 1.197 MB / 426.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2828, allocations: 3.938 kB / 426.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002492/0.2853, allocations: 1.628 MB / 428.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2854, allocations: 8 kB / 428.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.2854, allocations: 4 kB / 428.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.2864, allocations: 466.9 kB / 429 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006746/0.2871, allocations: 171.8 kB / 429.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008252/0.2954, allocations: 9.286 MB / 438.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/0.2959, allocations: 48.02 kB / 438.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-05/0.296, allocations: 40 kB / 438.6 MB, free: 15.48 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.00085/0.2968, allocations: 0.6496 MB / 439.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.297, allocations: 103.3 kB / 439.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.2973, allocations: 141.9 kB / 439.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.2973, allocations: 7.922 kB / 439.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2973, allocations: 0 / 439.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000379/0.2977, allocations: 292.3 kB / 439.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.2978, allocations: 16 kB / 439.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004488/0.2983, allocations: 43.95 kB / 439.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.2984, allocations: 76.81 kB / 439.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003421/0.3019, allocations: 1.812 MB / 441.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002734/0.3046, allocations: 2.014 MB / 443.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007973/0.3054, allocations: 0.5816 MB / 444.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000726/0.3062, allocations: 0.6044 MB / 444.9 MB, free: 9.082 MB / 366.1 MB Notification: Performance of Backend: time 4.31e-07/0.3062, allocations: 4 kB / 444.9 MB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002353/0.3085, allocations: 1.447 MB / 446.3 MB, free: 7.566 MB / 366.1 MB Notification: Performance of SimCode: time 0.005183/0.3137, allocations: 4.085 MB / 450.4 MB, free: 3.414 MB / 366.1 MB Notification: Performance of Templates: time 0.03073/0.3445, allocations: 20.2 MB / 470.6 MB, free: 15.18 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