Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.001298/0.001298, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001417/0.001417, allocations: 210.9 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 55.92 kB / 347.2 MB, free: 9.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2531, allocations: 49.15 MB / 396.4 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004168/0.2572, allocations: 3.365 MB / 399.7 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.259, allocations: 0.9309 MB / 400.7 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.2592, allocations: 10.22 kB / 400.7 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.2595, allocations: 78.27 kB / 400.7 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.2598, allocations: 148.2 kB / 400.9 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.2601, allocations: 157.6 kB / 401 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005642/0.2607, allocations: 0.6102 MB / 401.7 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002822/0.261, allocations: 137.8 kB / 401.8 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.2612, allocations: 240.2 kB / 402 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.2615, allocations: 213.5 kB / 402.2 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.144e-05/0.2616, allocations: 54.69 kB / 402.3 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.405e-05/0.2616, allocations: 54.53 kB / 402.3 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.01e-05/0.2617, allocations: 121.3 kB / 402.5 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.2619, allocations: 214.4 kB / 402.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005423/0.2625, allocations: 0.6298 MB / 403.3 MB, free: 4.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2625, allocations: 0 / 403.3 MB, free: 4.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2625, allocations: 3.938 kB / 403.3 MB, free: 4.836 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.2625, allocations: 1.031 kB / 403.3 MB, free: 4.836 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001313/0.2638, allocations: 0.8361 MB / 404.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.2638, allocations: 13.42 kB / 404.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.926e-05/0.2639, allocations: 79.33 kB / 404.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.093e-05/0.264, allocations: 55.3 kB / 404.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/0.2645, allocations: 303.5 kB / 404.6 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.2645, allocations: 31.16 kB / 404.6 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.417e-05/0.2646, allocations: 45.14 kB / 404.7 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007/0.2653, allocations: 478 kB / 405.1 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.2653, allocations: 5.859 kB / 405.1 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.2653, allocations: 16.11 kB / 405.1 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.2653, allocations: 9.625 kB / 405.1 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005386/0.2659, allocations: 326.5 kB / 405.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.2678, allocations: 1.654 MB / 407.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006055/0.2684, allocations: 356.5 kB / 407.5 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005512/0.2689, allocations: 251.2 kB / 407.7 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.269, allocations: 4.922 kB / 407.7 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004028/0.2694, allocations: 295.5 kB / 408 MB, free: 1.824 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.104e-06/0.2694, allocations: 0 / 408 MB, free: 1.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002136/0.2715, allocations: 0.7801 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.2716, allocations: 88.16 kB / 408.9 MB, free: 1.449 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.2718, allocations: 314.4 kB / 409.2 MB, free: 1.277 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.2719, allocations: 37.45 kB / 409.2 MB, free: 1.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.272, allocations: 214.8 kB / 409.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.819e-05/0.2721, allocations: 142.8 kB / 409.6 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.2722, allocations: 83.31 kB / 409.6 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.17e-05/0.2722, allocations: 351.1 kB / 410 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.2724, allocations: 119 kB / 410.1 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.2727, allocations: 276 kB / 410.4 MB, free: 296 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.2732, allocations: 378 kB / 410.7 MB, free: 20 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2732, allocations: 1.438 kB / 410.7 MB, free: 20 kB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008735/0.274, allocations: 0.5058 MB / 411.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2741, allocations: 6.75 kB / 411.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.2741, allocations: 8.844 kB / 411.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005171/0.2746, allocations: 154.7 kB / 411.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.2748, allocations: 67.77 kB / 411.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002971/0.2778, allocations: 2.414 MB / 413.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.2781, allocations: 36.88 kB / 413.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.2781, allocations: 18.97 kB / 414 MB, free: 13.66 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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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.0002629/0.2784, allocations: 186.8 kB / 414.1 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/0.2785, allocations: 47.97 kB / 414.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.809e-05/0.2786, allocations: 47.77 kB / 414.2 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2786, allocations: 3.812 kB / 414.2 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2786, allocations: 0 / 414.2 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2786, allocations: 5.375 kB / 414.2 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.2801, allocations: 0.9162 MB / 415.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2801, allocations: 1.156 kB / 415.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.2803, allocations: 38.2 kB / 415.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004194/0.2807, allocations: 147.2 kB / 415.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.2808, allocations: 6.781 kB / 415.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002969/0.2837, allocations: 2.408 MB / 417.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2837, allocations: 5 kB / 417.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.2849, allocations: 0.7052 MB / 418.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.2851, allocations: 77.41 kB / 418.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.445e-05/0.2852, allocations: 10.69 kB / 418.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.2854, allocations: 18.61 kB / 418.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.2855, allocations: 35.27 kB / 418.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.2855, allocations: 17.16 kB / 418.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002615/0.2858, allocations: 218.8 kB / 418.8 MB, free: 9.938 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2858, allocations: 3.938 kB / 418.8 MB, free: 9.934 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006058/0.2864, allocations: 143.6 kB / 419 MB, free: 9.902 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y,rootMeanSquareVoltage.mean.y,meanVoltage.y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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 (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.001502/0.2879, allocations: 1.256 MB / 420.2 MB, free: 8.918 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.2889, allocations: 0.5245 MB / 420.8 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2889, allocations: 0 / 420.8 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005596/0.2895, allocations: 373.9 kB / 421.1 MB, free: 8.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.29, allocations: 72.75 kB / 421.2 MB, free: 8.289 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005528/0.2955, allocations: 3.924 MB / 425.1 MB, free: 5.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.2957, allocations: 228.6 kB / 425.3 MB, free: 5.262 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001588/0.2959, allocations: 35.25 kB / 425.4 MB, free: 5.227 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.2961, allocations: 139.4 kB / 425.5 MB, free: 5.09 MB / 334.1 MB Notification: Performance of SimCode: time 1.122e-06/0.2961, allocations: 0 / 425.5 MB, free: 5.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04472/0.3408, allocations: 11.25 MB / 436.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.92, allocations: 0 / 436.8 MB, free: 9.777 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.264370150864124]