Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.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_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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 110.6 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00194/0.00194, allocations: 213.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2042, allocations: 50.54 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005033/0.2093, allocations: 4.748 MB / 414.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.2111, allocations: 1.367 MB / 416.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.2113, allocations: 31.81 kB / 416.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004942/0.2118, allocations: 214.4 kB / 416.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005867/0.2124, allocations: 354 kB / 416.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.2128, allocations: 219.6 kB / 416.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.214, allocations: 1.549 MB / 418.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009083/0.2149, allocations: 0.9726 MB / 419.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005252/0.2154, allocations: 0.6503 MB / 420 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007298/0.2162, allocations: 0.7705 MB / 420.8 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.2163, allocations: 164 kB / 421 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.2166, allocations: 168 kB / 421.1 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003032/0.2169, allocations: 438.8 kB / 421.6 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005441/0.2174, allocations: 0.7389 MB / 422.3 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.2189, allocations: 2.097 MB / 424.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2189, allocations: 0 / 424.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2189, allocations: 0 / 424.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.2189, allocations: 0 / 424.4 MB, free: 3.078 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002408/0.2213, allocations: 1.656 MB / 426 MB, free: 1.371 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.2213, allocations: 11.97 kB / 426.1 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/0.2218, allocations: 171.2 kB / 426.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.2231, allocations: 0.9657 MB / 427.2 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/0.2231, allocations: 74.38 kB / 427.3 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.2233, allocations: 100.1 kB / 427.4 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.2252, allocations: 1.443 MB / 428.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.2252, allocations: 0 / 428.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.809e-05/0.2253, allocations: 44 kB / 428.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.2253, allocations: 41.98 kB / 428.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.2271, allocations: 1.3 MB / 430.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005151/0.2323, allocations: 4.304 MB / 434.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.234, allocations: 1.963 MB / 436.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.2351, allocations: 0.7351 MB / 437.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.2352, allocations: 8.656 kB / 437.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007784/0.2359, allocations: 0.5937 MB / 437.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 1.794e-06/0.2359, allocations: 4 kB / 437.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.006703/0.2427, allocations: 2.82 MB / 440.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.2427, allocations: 111.5 kB / 440.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.2438, allocations: 0.8442 MB / 441.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.986e-05/0.2438, allocations: 45.69 kB / 441.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.2442, allocations: 491.8 kB / 442.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.2444, allocations: 240.5 kB / 442.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.2446, allocations: 138.6 kB / 442.5 MB, free: 464 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2448, allocations: 338 kB / 442.8 MB, free: 120 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005775/0.2454, allocations: 397.8 kB / 443.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006521/0.246, allocations: 0.5415 MB / 443.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.2472, allocations: 0.9192 MB / 444.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.2472, allocations: 4 kB / 444.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001936/0.2491, allocations: 1.303 MB / 446 MB, free: 12.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.2492, allocations: 7.438 kB / 446 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2492, allocations: 8.047 kB / 446 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000959/0.2501, allocations: 469.2 kB / 446.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.2505, allocations: 95.83 kB / 446.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006614/0.2571, allocations: 5.574 MB / 452.1 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005345/0.2577, allocations: 87.48 kB / 452.2 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/0.2577, allocations: 27.94 kB / 452.2 MB, free: 6.438 MB / 366.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: 15 (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_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].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 (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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0005829/0.2583, allocations: 470.7 kB / 452.7 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.2584, allocations: 94.86 kB / 452.8 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.2586, allocations: 112.7 kB / 452.9 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.2586, allocations: 8 kB / 452.9 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2587, allocations: 4.125 kB / 452.9 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.2587, allocations: 7.984 kB / 452.9 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003635/0.2623, allocations: 2.602 MB / 455.5 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.2623, allocations: 0 / 455.5 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.2626, allocations: 59.91 kB / 455.5 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009032/0.2635, allocations: 452.5 kB / 456 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.2636, allocations: 15.98 kB / 456 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006147/0.2697, allocations: 5.5 MB / 461.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2698, allocations: 3.938 kB / 461.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.2722, allocations: 1.921 MB / 463.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004214/0.2727, allocations: 271.8 kB / 463.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.234e-05/0.2728, allocations: 16 kB / 463.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.2731, allocations: 40.08 kB / 463.8 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.2733, allocations: 72.55 kB / 463.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/0.2734, allocations: 23.98 kB / 463.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006591/0.274, allocations: 0.6044 MB / 464.4 MB, free: 9.934 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.274, allocations: 4 kB / 464.5 MB, free: 9.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008365/0.2749, allocations: 343 kB / 464.8 MB, free: 9.594 MB / 382.1 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 (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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001492/0.275, allocations: 131.1 kB / 464.9 MB, free: 9.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.2769, allocations: 1.278 MB / 466.2 MB, free: 8.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2769, allocations: 0.875 kB / 466.2 MB, free: 8.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.278, allocations: 0.8279 MB / 467 MB, free: 7.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009561/0.2789, allocations: 282.2 kB / 467.3 MB, free: 7.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.2821, allocations: 2.341 MB / 469.6 MB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007532/0.2829, allocations: 1.307 MB / 470.9 MB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.283, allocations: 55.38 kB / 471 MB, free: 3.293 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2831, allocations: 0 / 471 MB, free: 3.293 MB / 382.1 MB Notification: Performance of Templates: time 0.313/0.5961, allocations: 21.06 MB / 492.1 MB, free: 14.29 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches