Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001112/0.001112, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 67.88 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2658, allocations: 50.54 MB / 409.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004458/0.2703, allocations: 3.743 MB / 413 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.2717, allocations: 0.9893 MB / 414 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.2719, allocations: 11.94 kB / 414 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.2721, allocations: 75.22 kB / 414.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.2724, allocations: 146.7 kB / 414.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.2728, allocations: 179.7 kB / 414.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005651/0.2734, allocations: 0.6148 MB / 415 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003311/0.2737, allocations: 224 kB / 415.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.274, allocations: 239.1 kB / 415.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.2743, allocations: 242.9 kB / 415.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.287e-05/0.2744, allocations: 60 kB / 415.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.2745, allocations: 59.98 kB / 415.8 MB, free: 11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.2746, allocations: 123.5 kB / 415.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.2748, allocations: 278.6 kB / 416.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000557/0.2754, allocations: 0.6398 MB / 416.9 MB, free: 9.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2754, allocations: 3.938 kB / 416.9 MB, free: 9.961 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2754, allocations: 0 / 416.9 MB, free: 9.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.2754, allocations: 4 kB / 416.9 MB, free: 9.957 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001331/0.2768, allocations: 0.7921 MB / 417.7 MB, free: 9.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.2768, allocations: 12.03 kB / 417.7 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.277, allocations: 68.27 kB / 417.7 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/0.2775, allocations: 376.8 kB / 418.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.2775, allocations: 33.38 kB / 418.1 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.389e-05/0.2776, allocations: 40.38 kB / 418.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007595/0.2784, allocations: 469.5 kB / 418.6 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.2784, allocations: 3.938 kB / 418.6 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/0.2785, allocations: 16 kB / 418.6 MB, free: 8.055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.2785, allocations: 8 kB / 418.7 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005866/0.2791, allocations: 331.7 kB / 419 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.2813, allocations: 1.851 MB / 420.8 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007596/0.2821, allocations: 0.6129 MB / 421.4 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005727/0.2827, allocations: 270.5 kB / 421.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.2827, allocations: 12.31 kB / 421.7 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004473/0.2832, allocations: 265.2 kB / 422 MB, free: 4.535 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.794e-06/0.2832, allocations: 0 / 422 MB, free: 4.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002222/0.2854, allocations: 0.85 MB / 422.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.2855, allocations: 81.11 kB / 422.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.2858, allocations: 324.4 kB / 423.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.2859, allocations: 41.69 kB / 423.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.286, allocations: 220.2 kB / 423.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.2861, allocations: 138.1 kB / 423.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.2863, allocations: 86.16 kB / 423.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2864, allocations: 350.7 kB / 424 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.2866, allocations: 125.1 kB / 424.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.2869, allocations: 249 kB / 424.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005123/0.2875, allocations: 383 kB / 424.8 MB, free: 1.547 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2875, allocations: 0 / 424.8 MB, free: 1.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008856/0.2884, allocations: 0.513 MB / 425.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.2884, allocations: 8 kB / 425.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2884, allocations: 4 kB / 425.3 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00042/0.2888, allocations: 144.7 kB / 425.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.2891, allocations: 67.84 kB / 425.5 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/0.2918, allocations: 2.541 MB / 428.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.292, allocations: 43.66 kB / 428.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.2921, allocations: 20 kB / 428.1 MB, free: 14.06 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002112/0.2923, allocations: 181.1 kB / 428.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.2924, allocations: 43.52 kB / 428.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.2925, allocations: 48.34 kB / 428.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2925, allocations: 4 kB / 428.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.2925, allocations: 4 kB / 428.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2925, allocations: 0 / 428.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.2939, allocations: 1.028 MB / 429.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.2939, allocations: 7.938 kB / 429.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.2941, allocations: 31.92 kB / 429.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003702/0.2945, allocations: 159.5 kB / 429.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.2945, allocations: 15.98 kB / 429.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/0.2972, allocations: 2.517 MB / 432.1 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2972, allocations: 4.031 kB / 432.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.2983, allocations: 0.7135 MB / 432.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.2984, allocations: 152.5 kB / 433 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/0.2985, allocations: 11.98 kB / 433 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.2987, allocations: 16 kB / 433 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.2988, allocations: 43.88 kB / 433.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.2988, allocations: 15.94 kB / 433.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.2991, allocations: 227.1 kB / 433.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2991, allocations: 0 / 433.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005907/0.2997, allocations: 147.6 kB / 433.5 MB, free: 8.461 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001367/0.2998, allocations: 119.5 kB / 433.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009/0.3007, allocations: 0.5446 MB / 434.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3007, allocations: 0 / 434.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004963/0.3012, allocations: 375.4 kB / 434.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.3017, allocations: 89.53 kB / 434.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.3034, allocations: 0.8687 MB / 435.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.3038, allocations: 0.8318 MB / 436.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.3039, allocations: 43.33 kB / 436.3 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.304, allocations: 31.44 kB / 436.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.304, allocations: 0 / 436.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of Templates: time 0.01348/0.3175, allocations: 7.081 MB / 443.4 MB, free: 14.54 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches