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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002323/0.002323, allocations: 189.8 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_0_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_0_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.001733/0.001733, allocations: 39.94 kB / 370.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2555, allocations: 52.2 MB / 422.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005281/0.2608, allocations: 3.741 MB / 426.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.2624, allocations: 0.9281 MB / 427.3 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.2626, allocations: 11.94 kB / 427.3 MB, free: 9.906 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.2629, allocations: 87.16 kB / 427.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.2632, allocations: 142.7 kB / 427.6 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.2635, allocations: 163.7 kB / 427.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006478/0.2642, allocations: 0.6109 MB / 428.3 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.2645, allocations: 152 kB / 428.5 MB, free: 8.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/0.2648, allocations: 231.1 kB / 428.7 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003487/0.2651, allocations: 246.9 kB / 428.9 MB, free: 8.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.19e-05/0.2652, allocations: 56 kB / 429 MB, free: 8.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.092e-05/0.2653, allocations: 56 kB / 429.1 MB, free: 8.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.2654, allocations: 127.5 kB / 429.2 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.2657, allocations: 274.7 kB / 429.4 MB, free: 7.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007041/0.2664, allocations: 0.6303 MB / 430.1 MB, free: 7.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2664, allocations: 0 / 430.1 MB, free: 7.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2664, allocations: 3.938 kB / 430.1 MB, free: 7.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.2664, allocations: 0 / 430.1 MB, free: 7.145 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001493/0.2679, allocations: 0.8362 MB / 430.9 MB, free: 6.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.268, allocations: 12.03 kB / 430.9 MB, free: 6.254 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.2681, allocations: 82.7 kB / 431 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.999e-05/0.2682, allocations: 60.56 kB / 431.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/0.2687, allocations: 311.2 kB / 431.4 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.2687, allocations: 33.38 kB / 431.4 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.511e-05/0.2688, allocations: 48.12 kB / 431.5 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007361/0.2695, allocations: 453.5 kB / 431.9 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.2696, allocations: 4 kB / 431.9 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.2696, allocations: 20 kB / 431.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.2696, allocations: 11.94 kB / 431.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005811/0.2702, allocations: 327.8 kB / 432.2 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.2726, allocations: 1.79 MB / 434 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006734/0.2733, allocations: 352 kB / 434.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005696/0.2738, allocations: 253.4 kB / 434.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.2739, allocations: 4.328 kB / 434.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004531/0.2743, allocations: 277.1 kB / 434.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.624e-06/0.2743, allocations: 0 / 434.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002277/0.2766, allocations: 0.7682 MB / 435.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.2767, allocations: 81.11 kB / 435.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.277, allocations: 320.5 kB / 436.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.2771, allocations: 33.7 kB / 436.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.2772, allocations: 224.6 kB / 436.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.2773, allocations: 138.8 kB / 436.5 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.2775, allocations: 90.14 kB / 436.5 MB, free: 416 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2776, allocations: 346.8 kB / 436.9 MB, free: 60 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.2779, allocations: 117 kB / 437 MB, free: 15.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/0.2782, allocations: 252.4 kB / 437.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005545/0.2788, allocations: 383.1 kB / 437.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2788, allocations: 0 / 437.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008503/0.2796, allocations: 0.5019 MB / 438.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.2797, allocations: 8.031 kB / 438.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.2797, allocations: 4 kB / 438.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000463/0.2801, allocations: 148.7 kB / 438.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.2804, allocations: 67.84 kB / 438.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/0.2833, allocations: 2.445 MB / 440.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.2836, allocations: 43.77 kB / 440.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.2836, allocations: 19.94 kB / 440.8 MB, free: 11.86 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.0002452/0.2838, allocations: 185.7 kB / 441 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.2839, allocations: 39.7 kB / 441.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.284, allocations: 48.3 kB / 441.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.284, allocations: 4 kB / 441.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.284, allocations: 0 / 441.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.284, allocations: 7.984 kB / 441.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.2856, allocations: 0.9767 MB / 442.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2856, allocations: 0 / 442.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.2857, allocations: 36.06 kB / 442.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003785/0.2861, allocations: 140.8 kB / 442.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.2861, allocations: 15.98 kB / 442.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002844/0.289, allocations: 2.433 MB / 444.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.289, allocations: 0 / 444.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.2901, allocations: 0.7249 MB / 445.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.2902, allocations: 71.64 kB / 445.5 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/0.2903, allocations: 16 kB / 445.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.2905, allocations: 15.98 kB / 445.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.603e-05/0.2906, allocations: 35.94 kB / 445.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.2906, allocations: 15.98 kB / 445.6 MB, free: 6.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002375/0.2909, allocations: 223.1 kB / 445.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2909, allocations: 0 / 445.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005744/0.2914, allocations: 143.8 kB / 446 MB, free: 6.539 MB / 350.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.001474/0.2929, allocations: 1.262 MB / 447.2 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009816/0.2939, allocations: 0.5223 MB / 447.7 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2939, allocations: 0 / 447.7 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000545/0.2944, allocations: 370 kB / 448.1 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.2949, allocations: 97.66 kB / 448.2 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005484/0.3004, allocations: 3.939 MB / 452.1 MB, free: 116 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.301, allocations: 0.8279 MB / 453 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.3012, allocations: 39.3 kB / 453 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.3013, allocations: 143.4 kB / 453.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3013, allocations: 0 / 453.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04874/0.3501, allocations: 11.15 MB / 464.3 MB, free: 4.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.35, allocations: 6.484 kB / 464.3 MB, free: 4.191 MB / 366.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.905713462037966]