Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009862/0.0009861, allocations: 197.4 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 226.6 MB / 244.7 MB, free: 8.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008135/0.0008135, allocations: 94.5 kB / 296.8 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000206/0.0002064, allocations: 4 kB / 356.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2368, allocations: 51.29 MB / 408.1 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.003292/0.2401, allocations: 4.132 MB / 412.2 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.2418, allocations: 1.27 MB / 413.5 MB, free: 22.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002885/0.2422, allocations: 25.16 kB / 413.5 MB, free: 22.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004242/0.2426, allocations: 158.9 kB / 413.6 MB, free: 22.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005339/0.2431, allocations: 327.6 kB / 414 MB, free: 21.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.2434, allocations: 135.8 kB / 414.1 MB, free: 21.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009483/0.2444, allocations: 1.603 MB / 415.7 MB, free: 20.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007018/0.2451, allocations: 0.8002 MB / 416.5 MB, free: 19.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003954/0.2455, allocations: 482.1 kB / 417 MB, free: 18.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005005/0.246, allocations: 0.6185 MB / 417.6 MB, free: 18.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.093e-05/0.2461, allocations: 64 kB / 417.6 MB, free: 18.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.2462, allocations: 67.98 kB / 417.7 MB, free: 18.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.2464, allocations: 322.9 kB / 418 MB, free: 17.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003999/0.2469, allocations: 0.5965 MB / 418.6 MB, free: 17.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008769/0.2477, allocations: 1.657 MB / 420.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2477, allocations: 0 / 420.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2478, allocations: 0 / 420.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.2478, allocations: 0 / 420.3 MB, free: 15.44 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.001901/0.2497, allocations: 1.432 MB / 421.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.2497, allocations: 8.031 kB / 421.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003914/0.2501, allocations: 179.3 kB / 421.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009807/0.2511, allocations: 0.9111 MB / 422.8 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.2512, allocations: 78.36 kB / 422.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.2513, allocations: 100.1 kB / 423 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.253, allocations: 1.439 MB / 424.4 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.2531, allocations: 0 / 424.4 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.779e-05/0.2532, allocations: 44 kB / 424.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/0.2532, allocations: 45.97 kB / 424.5 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.2549, allocations: 1.308 MB / 425.8 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004496/0.2594, allocations: 4.374 MB / 430.2 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.2607, allocations: 1.968 MB / 432.2 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007318/0.2615, allocations: 0.6222 MB / 432.8 MB, free: 2.488 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.2615, allocations: 12.66 kB / 432.8 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007079/0.2622, allocations: 0.6053 MB / 433.4 MB, free: 1.852 MB / 298.7 MB Notification: Performance of pre-optimization done (n=75): time 2.495e-06/0.2623, allocations: 0 / 433.4 MB, free: 1.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.005922/0.2682, allocations: 2.765 MB / 436.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.2683, allocations: 115.5 kB / 436.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.2693, allocations: 0.8169 MB / 437.1 MB, free: 14.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.2693, allocations: 41.7 kB / 437.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/0.2697, allocations: 0.4919 MB / 437.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.2699, allocations: 240.5 kB / 437.9 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.27, allocations: 16 kB / 437.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2701, allocations: 334 kB / 438.2 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000595/0.2707, allocations: 397.7 kB / 438.6 MB, free: 12.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006984/0.2714, allocations: 0.5556 MB / 439.1 MB, free: 11.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.2726, allocations: 0.927 MB / 440.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.2727, allocations: 0 / 440.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001957/0.2746, allocations: 1.33 MB / 441.4 MB, free: 9.648 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2746, allocations: 8 kB / 441.4 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.2747, allocations: 4 kB / 441.4 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009791/0.2756, allocations: 472.4 kB / 441.9 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.276, allocations: 95.83 kB / 442 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006179/0.2822, allocations: 5.122 MB / 447.1 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.2827, allocations: 95.39 kB / 447.2 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/0.2827, allocations: 24 kB / 447.2 MB, free: 3.691 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0006768/0.2834, allocations: 463.4 kB / 447.7 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.2835, allocations: 82.97 kB / 447.7 MB, free: 3.145 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.2838, allocations: 120.5 kB / 447.9 MB, free: 3.023 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.2838, allocations: 8 kB / 447.9 MB, free: 3.016 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.2838, allocations: 4 kB / 447.9 MB, free: 3.012 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.2838, allocations: 3.984 kB / 447.9 MB, free: 3.008 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003723/0.2875, allocations: 2.627 MB / 450.5 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2875, allocations: 0 / 450.5 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.2878, allocations: 67.89 kB / 450.6 MB, free: 260 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009117/0.2887, allocations: 456.7 kB / 451 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.2888, allocations: 12 kB / 451 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006054/0.2949, allocations: 5.071 MB / 456.1 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2949, allocations: 4.109 kB / 456.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.2975, allocations: 1.927 MB / 458 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004137/0.2979, allocations: 279.8 kB / 458.3 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.298, allocations: 19.92 kB / 458.3 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004532/0.2985, allocations: 43.95 kB / 458.4 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.2987, allocations: 72.48 kB / 458.4 MB, free: 8.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.444e-05/0.2988, allocations: 20 kB / 458.5 MB, free: 8.184 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000834/0.2996, allocations: 0.5966 MB / 459.1 MB, free: 7.594 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2996, allocations: 3.938 kB / 459.1 MB, free: 7.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009659/0.3006, allocations: 343 kB / 459.4 MB, free: 7.254 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].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 (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001882/0.3008, allocations: 131 kB / 459.5 MB, free: 7.117 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002264/0.3031, allocations: 1.278 MB / 460.8 MB, free: 5.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3031, allocations: 0 / 460.8 MB, free: 5.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.3045, allocations: 0.8172 MB / 461.6 MB, free: 4.992 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.3057, allocations: 261.6 kB / 461.9 MB, free: 4.742 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.3095, allocations: 2.727 MB / 464.6 MB, free: 1.984 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008527/0.3104, allocations: 1.304 MB / 465.9 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.3105, allocations: 55.44 kB / 466 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3105, allocations: 0 / 466 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of Templates: time 0.02543/0.336, allocations: 20.56 MB / 486.5 MB, free: 12.1 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches