Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001569/0.001569, 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.001895/0.001895, allocations: 206 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 51.86 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2618, allocations: 53.37 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005126/0.2669, allocations: 3.441 MB / 434.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.2688, allocations: 0.9544 MB / 435.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.269, allocations: 11.94 kB / 435.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.2693, allocations: 83.16 kB / 435.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.2696, allocations: 146.7 kB / 435.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.27, allocations: 187.7 kB / 435.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006879/0.2707, allocations: 0.6148 MB / 436.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003118/0.271, allocations: 148.6 kB / 436.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003635/0.2714, allocations: 243.1 kB / 436.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.2718, allocations: 254.9 kB / 437.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.284e-05/0.2718, allocations: 59.98 kB / 437.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.272, allocations: 56 kB / 437.3 MB, free: 452 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.2721, allocations: 127.5 kB / 437.4 MB, free: 324 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002303/0.2723, allocations: 226.9 kB / 437.6 MB, free: 96 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007811/0.2731, allocations: 0.6459 MB / 438.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2731, allocations: 0 / 438.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2731, allocations: 4 kB / 438.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.2731, allocations: 0 / 438.3 MB, free: 15.44 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001595/0.2747, allocations: 0.8592 MB / 439.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2747, allocations: 15.97 kB / 439.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.961e-05/0.2748, allocations: 74.72 kB / 439.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.275, allocations: 68.59 kB / 439.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.2755, allocations: 319.2 kB / 439.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.2756, allocations: 37.38 kB / 439.6 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.541e-05/0.2757, allocations: 48.11 kB / 439.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007948/0.2765, allocations: 491.2 kB / 440.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.2765, allocations: 4 kB / 440.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/0.2765, allocations: 16 kB / 440.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.2765, allocations: 8 kB / 440.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006056/0.2771, allocations: 319.8 kB / 440.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002458/0.2796, allocations: 1.688 MB / 442.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006825/0.2803, allocations: 347.9 kB / 442.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000595/0.2809, allocations: 245.4 kB / 442.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.2809, allocations: 8.328 kB / 442.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004764/0.2814, allocations: 298.9 kB / 443.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.764e-06/0.2814, allocations: 0 / 443.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002336/0.2837, allocations: 0.7681 MB / 443.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.2838, allocations: 85.11 kB / 443.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/0.2842, allocations: 336.4 kB / 444.3 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.55e-05/0.2842, allocations: 37.7 kB / 444.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.2844, allocations: 220.7 kB / 444.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.2845, allocations: 138.8 kB / 444.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.2847, allocations: 90.14 kB / 444.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.2849, allocations: 350.7 kB / 445.1 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.2851, allocations: 117 kB / 445.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.2855, allocations: 282 kB / 445.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006278/0.2861, allocations: 383.3 kB / 445.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2861, allocations: 4 kB / 445.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009107/0.287, allocations: 0.5016 MB / 446.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.2871, allocations: 8 kB / 446.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.2871, allocations: 4 kB / 446.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004931/0.2876, allocations: 148.7 kB / 446.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.2878, allocations: 63.91 kB / 446.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003115/0.2909, allocations: 2.421 MB / 449 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.2912, allocations: 43.73 kB / 449 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.2912, allocations: 24.03 kB / 449 MB, free: 4.141 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_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.0002802/0.2915, allocations: 185.7 kB / 449.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.408e-05/0.2916, allocations: 47.66 kB / 449.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.2917, allocations: 48.41 kB / 449.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2917, allocations: 4 kB / 449.3 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2917, allocations: 0 / 449.3 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.2917, allocations: 3.984 kB / 449.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.2933, allocations: 0.9338 MB / 450.3 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2934, allocations: 0 / 450.3 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.2935, allocations: 35.92 kB / 450.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003965/0.2939, allocations: 140 kB / 450.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.294, allocations: 15.98 kB / 450.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002936/0.2969, allocations: 2.403 MB / 452.9 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2969, allocations: 4 kB / 452.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.2981, allocations: 0.7022 MB / 453.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.2983, allocations: 83.58 kB / 453.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/0.2983, allocations: 8.094 kB / 453.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.2986, allocations: 15.98 kB / 453.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.2987, allocations: 43.91 kB / 453.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.2987, allocations: 12 kB / 453.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002552/0.2989, allocations: 223.1 kB / 453.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2989, allocations: 4 kB / 453.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006091/0.2996, allocations: 147.7 kB / 454.1 MB, free: 14.89 MB / 366.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_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,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.001556/0.3011, allocations: 1.279 MB / 455.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.3022, allocations: 0.5293 MB / 455.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3022, allocations: 0 / 455.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005928/0.3028, allocations: 363 kB / 456.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.3033, allocations: 81.33 kB / 456.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005534/0.3088, allocations: 3.993 MB / 460.3 MB, free: 8.406 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.3091, allocations: 232.8 kB / 460.5 MB, free: 8.152 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.3092, allocations: 35.36 kB / 460.6 MB, free: 8.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.3094, allocations: 139.4 kB / 460.7 MB, free: 7.98 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3094, allocations: 0 / 460.7 MB, free: 7.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04492/0.3544, allocations: 11.56 MB / 472.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.69, allocations: 12 kB / 472.3 MB, free: 12.72 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.10600071301451]