Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 111.7 kB / 17.74 MB, free: 5.316 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.00247/0.00247, allocations: 185.6 kB / 18.67 MB, free: 4.395 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.393/1.393, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001033, allocations: 51.92 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2242, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004615/0.2289, allocations: 3.709 MB / 405.1 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.2304, allocations: 0.9167 MB / 406 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.2307, allocations: 11.94 kB / 406.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.2309, allocations: 79.22 kB / 406.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.2313, allocations: 134.8 kB / 406.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.2316, allocations: 171.7 kB / 406.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005883/0.2322, allocations: 0.607 MB / 407 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003285/0.2326, allocations: 212.1 kB / 407.3 MB, free: 3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.2328, allocations: 223.2 kB / 407.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.2331, allocations: 250.9 kB / 407.7 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.157e-05/0.2332, allocations: 56 kB / 407.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.01e-05/0.2333, allocations: 56 kB / 407.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.2334, allocations: 123.5 kB / 407.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.2337, allocations: 270.7 kB / 408.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005438/0.2342, allocations: 0.6345 MB / 408.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2342, allocations: 4 kB / 408.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2342, allocations: 0 / 408.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.2342, allocations: 0 / 408.8 MB, free: 1.402 MB / 318.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.001272/0.2355, allocations: 0.7691 MB / 409.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2356, allocations: 11.97 kB / 409.6 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.709e-05/0.2357, allocations: 56.28 kB / 409.7 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.2361, allocations: 372.1 kB / 410 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/0.2362, allocations: 37.38 kB / 410.1 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/0.2362, allocations: 44.38 kB / 410.1 MB, free: 40 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007601/0.237, allocations: 465.5 kB / 410.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.237, allocations: 7.875 kB / 410.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.311e-05/0.2371, allocations: 16 kB / 410.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.2371, allocations: 12 kB / 410.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005731/0.2377, allocations: 323.8 kB / 410.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.24, allocations: 1.836 MB / 412.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007555/0.2408, allocations: 0.6091 MB / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005834/0.2414, allocations: 277.2 kB / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.2414, allocations: 4.328 kB / 413.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000437/0.2418, allocations: 269.1 kB / 413.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.174e-06/0.2419, allocations: 4 kB / 413.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002246/0.2441, allocations: 0.8461 MB / 414.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.2442, allocations: 81.11 kB / 414.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.2445, allocations: 312.5 kB / 415.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.2446, allocations: 41.69 kB / 415.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.2447, allocations: 212.3 kB / 415.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.2449, allocations: 138.1 kB / 415.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.245, allocations: 86.16 kB / 415.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.2451, allocations: 354.7 kB / 416 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.2454, allocations: 117.1 kB / 416.1 MB, free: 9.781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.2457, allocations: 249 kB / 416.3 MB, free: 9.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005077/0.2462, allocations: 387.1 kB / 416.7 MB, free: 9.051 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2462, allocations: 0 / 416.7 MB, free: 9.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008337/0.247, allocations: 0.5016 MB / 417.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.2471, allocations: 8 kB / 417.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.2471, allocations: 4 kB / 417.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004647/0.2475, allocations: 144.7 kB / 417.4 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.2478, allocations: 68.06 kB / 417.4 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.2506, allocations: 2.554 MB / 420 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.2509, allocations: 39.72 kB / 420 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.2509, allocations: 24 kB / 420 MB, free: 5.566 MB / 334.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.0002404/0.2512, allocations: 178.5 kB / 420.2 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.2512, allocations: 39.53 kB / 420.2 MB, free: 5.344 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.2514, allocations: 52.23 kB / 420.3 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2514, allocations: 4 kB / 420.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2514, allocations: 0 / 420.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.2514, allocations: 3.984 kB / 420.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.2528, allocations: 1.02 MB / 421.3 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.2528, allocations: 3.938 kB / 421.3 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.253, allocations: 39.91 kB / 421.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003775/0.2534, allocations: 148.7 kB / 421.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.2534, allocations: 12 kB / 421.5 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/0.2561, allocations: 2.532 MB / 424.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2561, allocations: 4 kB / 424.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.2572, allocations: 0.7132 MB / 424.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.2574, allocations: 164.5 kB / 424.9 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.2574, allocations: 4 kB / 424.9 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.2577, allocations: 23.98 kB / 425 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-05/0.2578, allocations: 31.95 kB / 425 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.2578, allocations: 12 kB / 425 MB, free: 348 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002237/0.258, allocations: 219.1 kB / 425.2 MB, free: 128 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2581, allocations: 0 / 425.2 MB, free: 128 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005912/0.2586, allocations: 143.7 kB / 425.4 MB, free: 15.98 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.0001437/0.2588, allocations: 123.8 kB / 425.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009234/0.2597, allocations: 0.5446 MB / 426 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2597, allocations: 4.938 kB / 426 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005293/0.2603, allocations: 386.7 kB / 426.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.2607, allocations: 84.14 kB / 426.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.2623, allocations: 0.8828 MB / 427.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.2627, allocations: 0.8318 MB / 428.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.2628, allocations: 27.44 kB / 428.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2628, allocations: 0 / 428.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of Templates: time 0.009496/0.2723, allocations: 7.034 MB / 435.3 MB, free: 6.035 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches