Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 54.66 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09449/0.09572, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007615/0.1034, allocations: 6.243 MB / 365.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003264/0.1067, allocations: 1.698 MB / 366.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005377/0.1072, allocations: 47.81 kB / 366.9 MB, free: 5.312 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005641/0.1079, allocations: 293.5 kB / 367.2 MB, free: 5.023 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.109, allocations: 421.2 kB / 367.6 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000603/0.1096, allocations: 347.6 kB / 367.9 MB, free: 4.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002035/0.1116, allocations: 2.141 MB / 370.1 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1501/0.2618, allocations: 2.441 MB / 372.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.2636, allocations: 1.039 MB / 373.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.2657, allocations: 1.221 MB / 374.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009907/0.2667, allocations: 291.1 kB / 375 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.2682, allocations: 401.5 kB / 375.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.2692, allocations: 0.7056 MB / 376.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002006/0.2713, allocations: 1.235 MB / 377.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003964/0.2752, allocations: 3.628 MB / 381 MB, free: 9.621 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2753, allocations: 1.125 kB / 381 MB, free: 9.621 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2753, allocations: 0 / 381 MB, free: 9.621 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001068/0.2754, allocations: 0 / 381 MB, free: 9.621 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.004986/0.2804, allocations: 2.484 MB / 383.5 MB, free: 8.191 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2804, allocations: 13.31 kB / 383.5 MB, free: 8.188 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007031/0.2811, allocations: 255.3 kB / 383.7 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/0.2834, allocations: 1.31 MB / 385.1 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.2835, allocations: 152.1 kB / 385.2 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002989/0.2839, allocations: 203.2 kB / 385.4 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004468/0.2883, allocations: 2.614 MB / 388 MB, free: 6.152 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.2884, allocations: 4.516 kB / 388 MB, free: 6.152 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.2886, allocations: 88.2 kB / 388.1 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.215e-05/0.2887, allocations: 52.5 kB / 388.2 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004021/0.2927, allocations: 2.088 MB / 390.2 MB, free: 5.012 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/0.3033, allocations: 7.293 MB / 397.5 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.3054, allocations: 2.352 MB / 399.9 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.3067, allocations: 0.9286 MB / 400.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.623e-05/0.3068, allocations: 10.03 kB / 400.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.3069, allocations: 48.69 kB / 400.9 MB, free: 13.49 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 4.268e-06/0.3069, allocations: 0 / 400.9 MB, free: 13.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.008057/0.3149, allocations: 4.176 MB / 405.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.315, allocations: 64.41 kB / 405.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.3163, allocations: 0.8719 MB / 406 MB, free: 9.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.745e-05/0.3164, allocations: 41.7 kB / 406 MB, free: 9.422 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006143/0.317, allocations: 0.8401 MB / 406.9 MB, free: 8.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.3173, allocations: 328.4 kB / 407.2 MB, free: 8.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.3176, allocations: 178.6 kB / 407.4 MB, free: 8.074 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002707/0.3179, allocations: 345.9 kB / 407.7 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009493/0.3188, allocations: 493.7 kB / 408.2 MB, free: 7.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008965/0.3197, allocations: 0.6689 MB / 408.9 MB, free: 6.516 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.3214, allocations: 1.207 MB / 410.1 MB, free: 5.266 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3214, allocations: 0 / 410.1 MB, free: 5.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002684/0.3241, allocations: 1.627 MB / 411.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.3242, allocations: 4 kB / 411.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.3242, allocations: 8 kB / 411.7 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.3253, allocations: 469.8 kB / 412.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/0.326, allocations: 178.3 kB / 412.3 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009521/0.3355, allocations: 9.277 MB / 421.6 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007867/0.3363, allocations: 47.95 kB / 421.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.528e-05/0.3364, allocations: 36.06 kB / 421.7 MB, free: 9.156 MB / 334.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.001068/0.3375, allocations: 0.652 MB / 422.3 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.3377, allocations: 102.8 kB / 422.4 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.338, allocations: 138.1 kB / 422.6 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.919e-05/0.338, allocations: 12 kB / 422.6 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.3381, allocations: 0 / 422.6 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.3381, allocations: 3.984 kB / 422.6 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005923/0.344, allocations: 3.492 MB / 426.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.344, allocations: 0 / 426.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005605/0.3446, allocations: 123.7 kB / 426.2 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009856/0.3456, allocations: 450.4 kB / 426.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.21e-05/0.3457, allocations: 27.98 kB / 426.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01172/0.3574, allocations: 9.197 MB / 435.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.3574, allocations: 4 kB / 435.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005133/0.3626, allocations: 2.31 MB / 438.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000873/0.3635, allocations: 283.8 kB / 438.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/0.3638, allocations: 16 kB / 438.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008234/0.3646, allocations: 43.95 kB / 438.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003316/0.3649, allocations: 92.38 kB / 438.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.884e-05/0.3651, allocations: 27.98 kB / 438.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009071/0.366, allocations: 0.6122 MB / 439.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.366, allocations: 0 / 439.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001543/0.3675, allocations: 376 kB / 439.6 MB, free: 6.652 MB / 350.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.0002817/0.3678, allocations: 150.8 kB / 439.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002708/0.3705, allocations: 1.829 MB / 441.6 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3706, allocations: 0 / 441.6 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.3722, allocations: 1.241 MB / 442.8 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.3735, allocations: 299.5 kB / 443.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005828/0.3793, allocations: 3.598 MB / 446.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.3807, allocations: 1.722 MB / 448.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005039/0.3812, allocations: 192.9 kB / 448.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.3814, allocations: 63.44 kB / 448.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3814, allocations: 0 / 448.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of Templates: time 0.03428/0.4157, allocations: 20.67 MB / 469.4 MB, free: 9.043 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches