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.000777/0.000777, allocations: 95.66 kB / 17.31 MB, free: 5.59 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.0008501/0.0008501, allocations: 181.4 kB / 18.21 MB, free: 5.191 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.127/1.127, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002218/0.0002215, allocations: 7.938 kB / 302.1 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07374/0.07397, allocations: 50.41 MB / 352.5 MB, free: 3.477 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.005264/0.07927, allocations: 5.726 MB / 358.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.0819, allocations: 1.601 MB / 359.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005938/0.08251, allocations: 43.81 kB / 359.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004671/0.08299, allocations: 238.4 kB / 360.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.08403, allocations: 374 kB / 360.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005267/0.08457, allocations: 295.7 kB / 360.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.0863, allocations: 2.266 MB / 363 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001916/0.08822, allocations: 2.018 MB / 365 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000612/0.08884, allocations: 0.7313 MB / 365.8 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009221/0.08977, allocations: 0.9564 MB / 366.7 MB, free: 5.121 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.08993, allocations: 127.9 kB / 366.8 MB, free: 4.996 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000393/0.09033, allocations: 259.7 kB / 367.1 MB, free: 4.742 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003504/0.09069, allocations: 0.4904 MB / 367.6 MB, free: 4.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007352/0.09143, allocations: 1.008 MB / 368.6 MB, free: 3.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.09339, allocations: 2.902 MB / 371.5 MB, free: 328 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.0934, allocations: 8 kB / 371.5 MB, free: 320 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.09341, allocations: 0 / 371.5 MB, free: 320 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.09343, allocations: 0 / 371.5 MB, free: 320 kB / 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.1302/0.2237, allocations: 2.084 MB / 373.6 MB, free: 23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.2237, allocations: 10.38 kB / 373.6 MB, free: 23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006438/0.2244, allocations: 228.2 kB / 373.8 MB, free: 22.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.2262, allocations: 1.249 MB / 375.1 MB, free: 22.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.2264, allocations: 153.2 kB / 375.2 MB, free: 22.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003768/0.2267, allocations: 201.8 kB / 375.4 MB, free: 22.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004016/0.2308, allocations: 2.626 MB / 378 MB, free: 21.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.2308, allocations: 0 / 378 MB, free: 21.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.231, allocations: 86.12 kB / 378.1 MB, free: 21.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.506e-05/0.231, allocations: 52.78 kB / 378.2 MB, free: 21.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003023/0.234, allocations: 2.106 MB / 380.3 MB, free: 20.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008281/0.2423, allocations: 7.445 MB / 387.7 MB, free: 16.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.2439, allocations: 2.36 MB / 390.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.2451, allocations: 0.9282 MB / 391 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/0.2451, allocations: 12.22 kB / 391 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.2451, allocations: 51.3 kB / 391.1 MB, free: 13.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 2.615e-06/0.2452, allocations: 4 kB / 391.1 MB, free: 13.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.005945/0.2511, allocations: 4.226 MB / 395.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.2511, allocations: 60.69 kB / 395.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007643/0.2519, allocations: 0.8623 MB / 396.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/0.252, allocations: 41.67 kB / 396.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.2523, allocations: 0.8249 MB / 397.1 MB, free: 9.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.2524, allocations: 327.2 kB / 397.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.363e-05/0.2525, allocations: 85.23 kB / 397.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.847e-05/0.2526, allocations: 345.8 kB / 397.8 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/0.2531, allocations: 0.494 MB / 398.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006172/0.2538, allocations: 0.6811 MB / 399 MB, free: 8.094 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.2549, allocations: 1.21 MB / 400.2 MB, free: 6.816 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.255, allocations: 0 / 400.2 MB, free: 6.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00187/0.2568, allocations: 1.645 MB / 401.9 MB, free: 5.152 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2569, allocations: 4 kB / 401.9 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.2569, allocations: 15.92 kB / 401.9 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000795/0.2577, allocations: 466.9 kB / 402.3 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/0.2582, allocations: 171.8 kB / 402.5 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006449/0.2647, allocations: 8.469 MB / 411 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.2652, allocations: 49.53 kB / 411 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/0.2652, allocations: 39.98 kB / 411.1 MB, free: 11.4 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.0007525/0.266, allocations: 0.6382 MB / 411.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.2662, allocations: 110.7 kB / 411.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.2664, allocations: 138 kB / 412 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-05/0.2665, allocations: 12 kB / 412 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.2665, allocations: 0 / 412 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.2665, allocations: 3.984 kB / 412 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004809/0.2713, allocations: 3.531 MB / 415.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.2713, allocations: 4.312 kB / 415.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004886/0.2718, allocations: 123.9 kB / 415.6 MB, free: 6.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008475/0.2727, allocations: 454.9 kB / 416.1 MB, free: 6.312 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.03e-05/0.2727, allocations: 27.98 kB / 416.1 MB, free: 6.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007075/0.2798, allocations: 8.381 MB / 424.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2798, allocations: 3.938 kB / 424.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/0.2828, allocations: 2.322 MB / 426.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/0.2832, allocations: 279.8 kB / 427.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.2833, allocations: 16.47 kB / 427.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.2837, allocations: 49.12 kB / 427.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.2839, allocations: 92.8 kB / 427.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/0.2839, allocations: 24 kB / 427.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006597/0.2846, allocations: 0.6083 MB / 427.9 MB, free: 9.938 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2846, allocations: 3.938 kB / 427.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001162/0.2858, allocations: 376 kB / 428.2 MB, free: 9.566 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.0002396/0.286, allocations: 157.3 kB / 428.4 MB, free: 9.402 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002298/0.2883, allocations: 1.823 MB / 430.2 MB, free: 7.531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2883, allocations: 0 / 430.2 MB, free: 7.531 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.2898, allocations: 1.237 MB / 431.4 MB, free: 6.246 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.291, allocations: 275.1 kB / 431.7 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005336/0.2964, allocations: 4.573 MB / 436.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.2976, allocations: 1.687 MB / 438 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.2978, allocations: 75.42 kB / 438 MB, free: 15.58 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2978, allocations: 4 kB / 438.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of Templates: time 0.05187/0.3496, allocations: 58.2 MB / 496.2 MB, free: 5.398 MB / 398.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/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_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches