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.001621/0.001621, allocations: 116.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001946/0.001946, allocations: 210 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2304, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004611/0.2351, allocations: 3.744 MB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.2367, allocations: 0.9854 MB / 414.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.2369, allocations: 11.94 kB / 414.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.2371, allocations: 79.23 kB / 414.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.2375, allocations: 146.7 kB / 414.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.2378, allocations: 175.7 kB / 415.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005783/0.2384, allocations: 0.6187 MB / 415.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.2388, allocations: 208.1 kB / 415.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002971/0.2391, allocations: 247.1 kB / 416.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.2394, allocations: 246.9 kB / 416.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.588e-05/0.2395, allocations: 56 kB / 416.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.2396, allocations: 64 kB / 416.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.2397, allocations: 123.5 kB / 416.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.24, allocations: 278.6 kB / 416.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005968/0.2406, allocations: 0.6436 MB / 417.5 MB, free: 9.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2406, allocations: 0 / 417.5 MB, free: 9.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2406, allocations: 0 / 417.5 MB, free: 9.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.2406, allocations: 0 / 417.5 MB, free: 9.938 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.001308/0.2419, allocations: 0.796 MB / 418.3 MB, free: 9.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.242, allocations: 8.031 kB / 418.3 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.2422, allocations: 76.27 kB / 418.4 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.2427, allocations: 380.7 kB / 418.8 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.2427, allocations: 33.38 kB / 418.8 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.285e-05/0.2428, allocations: 48.36 kB / 418.9 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007239/0.2435, allocations: 461.5 kB / 419.3 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.2435, allocations: 0 / 419.3 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/0.2436, allocations: 16 kB / 419.3 MB, free: 8.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.2436, allocations: 12 kB / 419.3 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005851/0.2442, allocations: 319.8 kB / 419.7 MB, free: 7.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.2465, allocations: 1.855 MB / 421.5 MB, free: 5.742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00075/0.2473, allocations: 0.6168 MB / 422.1 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006269/0.2479, allocations: 272.5 kB / 422.4 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.2479, allocations: 4.328 kB / 422.4 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004489/0.2484, allocations: 265.2 kB / 422.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.784e-06/0.2484, allocations: 0 / 422.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002344/0.2508, allocations: 0.8383 MB / 423.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.2508, allocations: 85.11 kB / 423.6 MB, free: 3.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.2512, allocations: 332.4 kB / 423.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.2512, allocations: 33.7 kB / 423.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.2514, allocations: 228.3 kB / 424.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.2515, allocations: 138 kB / 424.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.2516, allocations: 90.16 kB / 424.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2518, allocations: 350.7 kB / 424.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.2521, allocations: 125 kB / 424.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/0.2524, allocations: 253 kB / 425.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005256/0.2529, allocations: 375 kB / 425.5 MB, free: 1.527 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2529, allocations: 4 kB / 425.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008712/0.2538, allocations: 0.509 MB / 426 MB, free: 1.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2539, allocations: 12.03 kB / 426 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.2539, allocations: 4 kB / 426 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004542/0.2543, allocations: 152.7 kB / 426.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.2546, allocations: 63.84 kB / 426.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002841/0.2574, allocations: 2.54 MB / 428.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.2577, allocations: 47.66 kB / 428.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.2578, allocations: 16 kB / 428.8 MB, free: 14.04 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.0002274/0.258, allocations: 177.8 kB / 429 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/0.2581, allocations: 39.53 kB / 429 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.2582, allocations: 56.34 kB / 429.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2582, allocations: 4 kB / 429.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2582, allocations: 0 / 429.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2582, allocations: 3.984 kB / 429.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.2596, allocations: 1.032 MB / 430.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2597, allocations: 0 / 430.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.2598, allocations: 35.92 kB / 430.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003918/0.2602, allocations: 147.7 kB / 430.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.2603, allocations: 11.98 kB / 430.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002689/0.263, allocations: 2.526 MB / 432.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.263, allocations: 3.984 kB / 432.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.2641, allocations: 0.7213 MB / 433.6 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.2643, allocations: 152.5 kB / 433.7 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/0.2643, allocations: 8 kB / 433.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.2646, allocations: 15.98 kB / 433.7 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.58e-05/0.2647, allocations: 31.95 kB / 433.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.2647, allocations: 19.98 kB / 433.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000232/0.265, allocations: 231 kB / 434 MB, free: 8.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.265, allocations: 0 / 434 MB, free: 8.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006028/0.2656, allocations: 151.6 kB / 434.2 MB, free: 8.434 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.0001555/0.2657, allocations: 123.4 kB / 434.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009474/0.2667, allocations: 0.533 MB / 434.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2667, allocations: 0 / 434.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005429/0.2673, allocations: 379.3 kB / 435.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.2678, allocations: 92.34 kB / 435.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.2694, allocations: 0.9095 MB / 436.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.2698, allocations: 0.8279 MB / 437 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.362e-05/0.2699, allocations: 31.44 kB / 437 MB, free: 5.461 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2699, allocations: 0 / 437 MB, free: 5.461 MB / 350.1 MB Notification: Performance of Templates: time 0.01042/0.2804, allocations: 7.176 MB / 444.2 MB, free: 14.33 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/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