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.0008604/0.0008606, allocations: 94.2 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001074, allocations: 206 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.7 MB / 247.5 MB, free: 9.477 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002204/0.0002205, allocations: 7.984 kB / 308.4 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08815/0.08838, allocations: 51.52 MB / 359.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003823/0.09225, allocations: 3.383 MB / 363.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.09416, allocations: 0.9548 MB / 364.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004044/0.09459, allocations: 11.94 kB / 364.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.09487, allocations: 63.53 kB / 364.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005031/0.09538, allocations: 119 kB / 364.5 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.09582, allocations: 155.8 kB / 364.6 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007043/0.09654, allocations: 0.5796 MB / 365.2 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/0.0969, allocations: 183.2 kB / 365.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003551/0.09726, allocations: 199.1 kB / 365.6 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.09761, allocations: 214.9 kB / 365.8 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.548e-05/0.0977, allocations: 28 kB / 365.8 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.09782, allocations: 31.94 kB / 365.8 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.47e-05/0.09791, allocations: 83.56 kB / 365.9 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.09816, allocations: 264.3 kB / 366.2 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004335/0.0986, allocations: 474.6 kB / 366.6 MB, free: 6.246 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.09861, allocations: 3.984 kB / 366.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09862, allocations: 0 / 366.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.256e-05/0.09865, allocations: 0 / 366.6 MB, free: 6.242 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001262/0.09992, allocations: 0.7067 MB / 367.3 MB, free: 5.484 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.09996, allocations: 8.031 kB / 367.4 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002527/0.1002, allocations: 72.27 kB / 367.4 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.1007, allocations: 376.7 kB / 367.8 MB, free: 5.004 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.1008, allocations: 37.36 kB / 367.8 MB, free: 4.969 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.8e-05/0.1009, allocations: 48.38 kB / 367.9 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007866/0.1016, allocations: 465.5 kB / 368.3 MB, free: 4.441 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.1017, allocations: 7.938 kB / 368.3 MB, free: 4.434 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.1017, allocations: 20 kB / 368.4 MB, free: 4.414 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.1017, allocations: 8 kB / 368.4 MB, free: 4.406 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006019/0.1024, allocations: 323.8 kB / 368.7 MB, free: 4.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002447/0.1048, allocations: 1.886 MB / 370.6 MB, free: 2.094 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007803/0.1056, allocations: 0.6249 MB / 371.2 MB, free: 1.406 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005608/0.1062, allocations: 269.4 kB / 371.5 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.1062, allocations: 4.328 kB / 371.5 MB, free: 1.137 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004779/0.1067, allocations: 269.2 kB / 371.7 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.425e-06/0.1067, allocations: 0 / 371.7 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.1578/0.2645, allocations: 0.8488 MB / 372.6 MB, free: 19.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/0.2646, allocations: 83.8 kB / 372.7 MB, free: 19.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000508/0.2652, allocations: 324.3 kB / 373 MB, free: 19.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.082e-05/0.2653, allocations: 36.86 kB / 373 MB, free: 19.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.2654, allocations: 223.1 kB / 373.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.2656, allocations: 142.5 kB / 373.4 MB, free: 19.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.705e-05/0.2657, allocations: 48.45 kB / 373.4 MB, free: 19.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.2658, allocations: 349.2 kB / 373.7 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.2661, allocations: 122.6 kB / 373.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.2665, allocations: 257.6 kB / 374.1 MB, free: 19.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006023/0.2671, allocations: 391.2 kB / 374.5 MB, free: 18.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.2671, allocations: 1.844 kB / 374.5 MB, free: 18.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001009/0.2681, allocations: 0.5104 MB / 375 MB, free: 18.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.2681, allocations: 12.75 kB / 375 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.2681, allocations: 4.5 kB / 375 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004873/0.2686, allocations: 149.1 kB / 375.2 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.2689, allocations: 65.95 kB / 375.2 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.2713, allocations: 2.325 MB / 377.6 MB, free: 16.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.2716, allocations: 47.06 kB / 377.6 MB, free: 16.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.2717, allocations: 19.45 kB / 377.6 MB, free: 16.86 MB / 302.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.0002325/0.2719, allocations: 173.4 kB / 377.8 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-05/0.272, allocations: 39.75 kB / 377.8 MB, free: 16.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.2721, allocations: 52.55 kB / 377.9 MB, free: 16.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2721, allocations: 4.25 kB / 377.9 MB, free: 16.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2721, allocations: 1.656 kB / 377.9 MB, free: 16.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.2721, allocations: 6.438 kB / 377.9 MB, free: 16.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.2736, allocations: 1.03 MB / 378.9 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2736, allocations: 0 / 378.9 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.2738, allocations: 41.03 kB / 379 MB, free: 16.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003748/0.2742, allocations: 139.3 kB / 379.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.2742, allocations: 9.484 kB / 379.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/0.2764, allocations: 2.311 MB / 381.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2765, allocations: 0 / 381.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.2775, allocations: 0.729 MB / 382.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.2777, allocations: 151.2 kB / 382.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.448e-05/0.2778, allocations: 11.27 kB / 382.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.278, allocations: 15.64 kB / 382.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.2781, allocations: 47.61 kB / 382.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.2782, allocations: 19.48 kB / 382.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002478/0.2784, allocations: 227.2 kB / 382.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2784, allocations: 0 / 382.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006444/0.2791, allocations: 146.6 kB / 382.8 MB, free: 13.39 MB / 302.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.0001502/0.2793, allocations: 117.3 kB / 382.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009815/0.2802, allocations: 0.5373 MB / 383.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2803, allocations: 0 / 383.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005184/0.2808, allocations: 377.5 kB / 383.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/0.2813, allocations: 78.86 kB / 383.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.283, allocations: 1.124 MB / 385 MB, free: 12.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.2833, allocations: 0.8324 MB / 385.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.96e-05/0.2834, allocations: 33.02 kB / 385.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2835, allocations: 0 / 385.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of Templates: time 0.0118/0.2953, allocations: 7.067 MB / 392.9 MB, free: 9.184 MB / 302.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/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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches