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.001548/0.001548, allocations: 107.8 kB / 17.06 MB, free: 6.02 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.001762/0.001762, allocations: 191 kB / 18 MB, free: 5.102 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.462/1.462, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009093/0.0009093, allocations: 43.94 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2459, allocations: 49.44 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004351/0.2503, allocations: 3.708 MB / 404.5 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.2517, allocations: 0.9194 MB / 405.4 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.2519, allocations: 11.94 kB / 405.4 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.2522, allocations: 75.23 kB / 405.5 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.2525, allocations: 146.7 kB / 405.6 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.2528, allocations: 163.7 kB / 405.8 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005651/0.2534, allocations: 0.6031 MB / 406.4 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003341/0.2538, allocations: 215.9 kB / 406.6 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.254, allocations: 231.1 kB / 406.8 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002999/0.2543, allocations: 246.9 kB / 407 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.888e-05/0.2544, allocations: 56 kB / 407.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.314e-05/0.2545, allocations: 60 kB / 407.2 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.2546, allocations: 119.5 kB / 407.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.2548, allocations: 270.7 kB / 407.5 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005862/0.2554, allocations: 0.6304 MB / 408.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2555, allocations: 4 kB / 408.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2555, allocations: 0 / 408.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.2555, allocations: 0 / 408.2 MB, free: 1.438 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.001242/0.2567, allocations: 0.7919 MB / 409 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.2568, allocations: 8.031 kB / 409 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.2569, allocations: 68.48 kB / 409 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.2573, allocations: 364.5 kB / 409.4 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.2574, allocations: 41.36 kB / 409.4 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/0.2575, allocations: 40.38 kB / 409.5 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007566/0.2582, allocations: 465.4 kB / 409.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.2583, allocations: 0 / 409.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.06e-05/0.2583, allocations: 20 kB / 409.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.2583, allocations: 12 kB / 410 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005755/0.2589, allocations: 323.8 kB / 410.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/0.2611, allocations: 1.844 MB / 412.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007536/0.2619, allocations: 0.5975 MB / 412.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005572/0.2625, allocations: 277.3 kB / 413 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.2625, allocations: 4.328 kB / 413 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004375/0.263, allocations: 273.1 kB / 413.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.803e-06/0.263, allocations: 0 / 413.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002271/0.2652, allocations: 0.8385 MB / 414.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.2653, allocations: 93.09 kB / 414.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.2657, allocations: 316.4 kB / 414.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.2657, allocations: 37.7 kB / 414.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.2658, allocations: 216.7 kB / 414.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.398e-05/0.2659, allocations: 146.8 kB / 414.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.2661, allocations: 86.25 kB / 415 MB, free: 10.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2662, allocations: 350.7 kB / 415.3 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.2664, allocations: 117.1 kB / 415.4 MB, free: 9.789 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.2667, allocations: 253 kB / 415.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005261/0.2673, allocations: 383 kB / 416 MB, free: 9.059 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2673, allocations: 4 kB / 416.1 MB, free: 9.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008431/0.2681, allocations: 0.5054 MB / 416.6 MB, free: 8.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2682, allocations: 8 kB / 416.6 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2682, allocations: 4 kB / 416.6 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004563/0.2686, allocations: 155.6 kB / 416.7 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.2689, allocations: 63.91 kB / 416.8 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/0.2716, allocations: 2.552 MB / 419.3 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.2719, allocations: 39.81 kB / 419.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.2719, allocations: 20 kB / 419.4 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.0001945/0.2721, allocations: 174.6 kB / 419.6 MB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-05/0.2722, allocations: 51.64 kB / 419.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.691e-05/0.2723, allocations: 52.23 kB / 419.7 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.2723, allocations: 8 kB / 419.7 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.2723, allocations: 0 / 419.7 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2723, allocations: 144 / 419.7 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.2737, allocations: 1.02 MB / 420.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2737, allocations: 3.984 kB / 420.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.2739, allocations: 39.92 kB / 420.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003802/0.2743, allocations: 140.8 kB / 420.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.2743, allocations: 8 kB / 420.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002628/0.277, allocations: 2.541 MB / 423.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.277, allocations: 0 / 423.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.2781, allocations: 0.7251 MB / 424.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.2782, allocations: 156.8 kB / 424.3 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.2783, allocations: 12 kB / 424.3 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.2785, allocations: 19.98 kB / 424.3 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.282e-05/0.2786, allocations: 31.95 kB / 424.4 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.2786, allocations: 15.98 kB / 424.4 MB, free: 336 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002042/0.2789, allocations: 215.1 kB / 424.6 MB, free: 120 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2789, allocations: 0 / 424.6 MB, free: 120 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005552/0.2794, allocations: 147.8 kB / 424.7 MB, free: 15.97 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.0001394/0.2796, allocations: 123.9 kB / 424.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008841/0.2805, allocations: 0.5531 MB / 425.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.2805, allocations: 0 / 425.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005218/0.281, allocations: 378.6 kB / 425.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.2815, allocations: 90.88 kB / 425.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.2829, allocations: 0.8655 MB / 426.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.2833, allocations: 0.8279 MB / 427.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.2835, allocations: 39.3 kB / 427.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.2835, allocations: 31.44 kB / 427.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2835, allocations: 0 / 427.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of Templates: time 0.01134/0.2949, allocations: 6.994 MB / 434.6 MB, free: 6.129 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/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