Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 209.5 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 51.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2583, allocations: 53.37 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006198/0.2645, allocations: 4.335 MB / 435.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.2672, allocations: 1.328 MB / 436.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003884/0.2676, allocations: 39.69 kB / 436.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006511/0.2683, allocations: 222.4 kB / 437 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008513/0.2691, allocations: 374 kB / 437.4 MB, free: 324 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.2696, allocations: 223.6 kB / 437.6 MB, free: 100 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.2713, allocations: 1.553 MB / 439.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008891/0.2722, allocations: 0.5594 MB / 439.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008955/0.2731, allocations: 0.6736 MB / 440.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.2741, allocations: 0.7783 MB / 441.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000216/0.2743, allocations: 168 kB / 441.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.2746, allocations: 168 kB / 441.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004418/0.2751, allocations: 442.7 kB / 441.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006969/0.2758, allocations: 0.5873 MB / 442.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00213/0.2779, allocations: 2.123 MB / 444.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2779, allocations: 0 / 444.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2779, allocations: 0 / 444.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.2779, allocations: 4 kB / 444.6 MB, free: 9.004 MB / 350.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.003491/0.2814, allocations: 1.904 MB / 446.5 MB, free: 7.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.2815, allocations: 8.031 kB / 446.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002339/0.2817, allocations: 160.4 kB / 446.7 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005588/0.2822, allocations: 176 kB / 446.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/0.2841, allocations: 0.9047 MB / 447.8 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.498e-05/0.2841, allocations: 74.38 kB / 447.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.2843, allocations: 99.94 kB / 448 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002701/0.287, allocations: 1.497 MB / 449.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.2871, allocations: 0 / 449.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.2872, allocations: 47.98 kB / 449.5 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.434e-05/0.2872, allocations: 41.94 kB / 449.5 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.2895, allocations: 1.288 MB / 450.8 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006775/0.2963, allocations: 3.924 MB / 454.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.298, allocations: 0.9955 MB / 455.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.2992, allocations: 0.6813 MB / 456.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.415e-05/0.2993, allocations: 8.656 kB / 456.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.3003, allocations: 0.6516 MB / 457.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 4.458e-06/0.3003, allocations: 3.984 kB / 457.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007589/0.3079, allocations: 2.754 MB / 459.8 MB, free: 9.535 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.42e-05/0.308, allocations: 111.5 kB / 460 MB, free: 9.402 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.3092, allocations: 0.8558 MB / 460.8 MB, free: 8.535 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.38e-05/0.3093, allocations: 41.7 kB / 460.9 MB, free: 8.488 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004996/0.3098, allocations: 0.4968 MB / 461.4 MB, free: 7.984 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.31, allocations: 249.9 kB / 461.6 MB, free: 7.738 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.3103, allocations: 134.7 kB / 461.7 MB, free: 7.602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3104, allocations: 337.9 kB / 462.1 MB, free: 7.266 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/0.3111, allocations: 389.7 kB / 462.4 MB, free: 6.887 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007964/0.3119, allocations: 0.5958 MB / 463 MB, free: 6.223 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.3133, allocations: 0.9132 MB / 463.9 MB, free: 5.254 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.3133, allocations: 0 / 463.9 MB, free: 5.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00233/0.3156, allocations: 1.294 MB / 465.2 MB, free: 3.949 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.3156, allocations: 7.984 kB / 465.2 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.3156, allocations: 4 kB / 465.3 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.3168, allocations: 464.8 kB / 465.7 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.3172, allocations: 91.83 kB / 465.8 MB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007586/0.3248, allocations: 5.418 MB / 471.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006251/0.3254, allocations: 91.59 kB / 471.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.477e-05/0.3254, allocations: 24 kB / 471.3 MB, free: 13.74 MB / 382.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_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) * 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.0007279/0.3262, allocations: 471.2 kB / 471.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.3263, allocations: 99.42 kB / 471.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.3266, allocations: 108.7 kB / 472 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.3266, allocations: 8 kB / 472 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3266, allocations: 4 kB / 472 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.3266, allocations: 3.984 kB / 472 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004178/0.3308, allocations: 2.426 MB / 474.4 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.3308, allocations: 4 kB / 474.4 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.3311, allocations: 67.89 kB / 474.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.3321, allocations: 464.2 kB / 475 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.717e-05/0.3322, allocations: 12 kB / 475 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00744/0.3396, allocations: 5.348 MB / 480.3 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3396, allocations: 4.062 kB / 480.3 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002973/0.3426, allocations: 1.902 MB / 482.2 MB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005542/0.3431, allocations: 215.2 kB / 482.4 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.3433, allocations: 16 kB / 482.4 MB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.3437, allocations: 35.95 kB / 482.5 MB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.3439, allocations: 80.5 kB / 482.6 MB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.703e-05/0.3439, allocations: 20 kB / 482.6 MB, free: 2.273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009514/0.3449, allocations: 0.6082 MB / 483.2 MB, free: 1.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3449, allocations: 0 / 483.2 MB, free: 1.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009763/0.3458, allocations: 339.4 kB / 483.5 MB, free: 1.336 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.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: 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.003344/0.3492, allocations: 2.476 MB / 486 MB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002313/0.3515, allocations: 1.251 MB / 487.2 MB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3515, allocations: 4.875 kB / 487.3 MB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.3528, allocations: 0.7889 MB / 488 MB, free: 12.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.3541, allocations: 278.8 kB / 488.3 MB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/0.37, allocations: 9.853 MB / 498.2 MB, free: 2.402 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008823/0.3709, allocations: 0.7343 MB / 498.9 MB, free: 1.629 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004242/0.3713, allocations: 147.4 kB / 499 MB, free: 1.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005237/0.3718, allocations: 387.3 kB / 499.4 MB, free: 1.102 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3718, allocations: 0 / 499.4 MB, free: 1.102 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07286/0.4447, allocations: 30.18 MB / 0.5172 GB, free: 3.324 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.28, allocations: 3.859 kB / 0.5172 GB, free: 3.32 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.778140913986135]