Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 107.8 kB / 17.06 MB, free: 6.129 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.0009701/0.0009701, allocations: 192 kB / 18 MB, free: 5.207 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.293/1.293, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 43.92 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2441, allocations: 49.44 MB / 400.7 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005315/0.2495, allocations: 4.72 MB / 405.5 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.2515, allocations: 1.281 MB / 406.7 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00026/0.2518, allocations: 27.88 kB / 406.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005753/0.2524, allocations: 226.4 kB / 407 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006864/0.2531, allocations: 362 kB / 407.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.2535, allocations: 215.6 kB / 407.6 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.2548, allocations: 1.522 MB / 409.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.2558, allocations: 0.9703 MB / 410.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006198/0.2565, allocations: 0.6463 MB / 410.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000779/0.2573, allocations: 0.7628 MB / 411.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.2574, allocations: 167.9 kB / 411.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.2577, allocations: 164 kB / 411.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003456/0.258, allocations: 434.8 kB / 412.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006495/0.2587, allocations: 0.7272 MB / 412.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.2604, allocations: 2.087 MB / 415 MB, free: 10.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2604, allocations: 0 / 415 MB, free: 10.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2604, allocations: 0 / 415 MB, free: 10.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.2604, allocations: 0 / 415 MB, free: 10.7 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.002671/0.2631, allocations: 1.638 MB / 416.7 MB, free: 9.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.2632, allocations: 11.89 kB / 416.7 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.2634, allocations: 139.2 kB / 416.8 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.2647, allocations: 0.9424 MB / 417.8 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.359e-05/0.2648, allocations: 70.38 kB / 417.8 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.2649, allocations: 104.1 kB / 417.9 MB, free: 7.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.267, allocations: 1.439 MB / 419.4 MB, free: 6.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.2671, allocations: 7.938 kB / 419.4 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-05/0.2672, allocations: 43.92 kB / 419.4 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.755e-05/0.2672, allocations: 42 kB / 419.5 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.2692, allocations: 1.292 MB / 420.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005434/0.2746, allocations: 4.304 MB / 425.1 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.2765, allocations: 1.953 MB / 427 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.2776, allocations: 0.7469 MB / 427.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.399e-05/0.2777, allocations: 8.656 kB / 427.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008742/0.2786, allocations: 0.5975 MB / 428.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.164e-06/0.2786, allocations: 0 / 428.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.006877/0.2855, allocations: 2.816 MB / 431.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.114e-05/0.2856, allocations: 119.5 kB / 431.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009759/0.2865, allocations: 0.8169 MB / 432.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/0.2866, allocations: 41.7 kB / 432.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/0.287, allocations: 487.7 kB / 432.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.2872, allocations: 240.5 kB / 432.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.2874, allocations: 138.6 kB / 433 MB, free: 8.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2875, allocations: 394.7 kB / 433.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/0.2881, allocations: 401.7 kB / 433.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006684/0.2888, allocations: 0.5493 MB / 434.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.29, allocations: 0.9075 MB / 435.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.2901, allocations: 0 / 435.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001971/0.292, allocations: 1.31 MB / 436.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.2921, allocations: 7.984 kB / 436.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.2921, allocations: 4 kB / 436.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.2931, allocations: 460.8 kB / 437 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.2935, allocations: 103.8 kB / 437.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006784/0.3003, allocations: 5.57 MB / 442.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/0.3008, allocations: 83.45 kB / 442.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-05/0.3009, allocations: 27.94 kB / 442.8 MB, free: 14.1 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.0006163/0.3015, allocations: 468.7 kB / 443.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.3016, allocations: 82.97 kB / 443.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.3018, allocations: 108.6 kB / 443.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3019, allocations: 8 kB / 443.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.3019, allocations: 0 / 443.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3019, allocations: 3.984 kB / 443.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003728/0.3056, allocations: 2.598 MB / 446 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3056, allocations: 0 / 446 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.3059, allocations: 63.91 kB / 446.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009671/0.3069, allocations: 468.5 kB / 446.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/0.307, allocations: 12 kB / 446.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006729/0.3137, allocations: 5.502 MB / 452.1 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3137, allocations: 0 / 452.1 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/0.3163, allocations: 1.909 MB / 454 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000366/0.3166, allocations: 267.9 kB / 454.2 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.72e-05/0.3167, allocations: 19.94 kB / 454.3 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/0.3171, allocations: 47.94 kB / 454.3 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.3173, allocations: 72.55 kB / 454.4 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/0.3174, allocations: 16 kB / 454.4 MB, free: 2.215 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007331/0.3181, allocations: 0.5927 MB / 455 MB, free: 1.625 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3181, allocations: 3.938 kB / 455 MB, free: 1.621 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009283/0.319, allocations: 339.1 kB / 455.3 MB, free: 1.289 MB / 366.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.0001667/0.3192, allocations: 147 kB / 455.5 MB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.3212, allocations: 1.27 MB / 456.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3213, allocations: 0 / 456.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.3225, allocations: 0.8288 MB / 457.6 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009967/0.3235, allocations: 278.5 kB / 457.8 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.3271, allocations: 2.313 MB / 460.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008112/0.3279, allocations: 1.325 MB / 461.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003331/0.3283, allocations: 143.3 kB / 461.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.3284, allocations: 55.44 kB / 461.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3284, allocations: 0 / 461.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of Templates: time 0.02996/0.3584, allocations: 19.8 MB / 481.5 MB, free: 7.309 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches