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.001337/0.001337, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001447/0.001447, allocations: 193.9 kB / 23.71 MB, free: 4.406 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.435/1.435, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.00192/0.00192, allocations: 43.94 kB / 370.4 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3241, allocations: 52.19 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00595/0.3301, allocations: 3.395 MB / 426 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.3322, allocations: 0.8853 MB / 426.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000235/0.3324, allocations: 7.938 kB / 426.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.3327, allocations: 87.16 kB / 427 MB, free: 9.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004015/0.3331, allocations: 142.8 kB / 427.1 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.3335, allocations: 163.8 kB / 427.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007938/0.3343, allocations: 0.6148 MB / 427.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003497/0.3347, allocations: 140 kB / 428 MB, free: 8.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003464/0.335, allocations: 235.1 kB / 428.3 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003714/0.3354, allocations: 218.9 kB / 428.5 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.679e-05/0.3355, allocations: 56 kB / 428.5 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3356, allocations: 52 kB / 428.6 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.3357, allocations: 131.5 kB / 428.7 MB, free: 8.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.336, allocations: 215 kB / 428.9 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009602/0.337, allocations: 0.642 MB / 429.6 MB, free: 7.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.337, allocations: 0 / 429.6 MB, free: 7.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.337, allocations: 0 / 429.6 MB, free: 7.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.337, allocations: 0 / 429.6 MB, free: 7.402 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.001874/0.3389, allocations: 0.8323 MB / 430.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.3389, allocations: 12.03 kB / 430.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.3391, allocations: 82.7 kB / 430.5 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.3392, allocations: 64.5 kB / 430.5 MB, free: 6.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005922/0.3398, allocations: 315.2 kB / 430.8 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/0.3398, allocations: 33.36 kB / 430.9 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.633e-05/0.3399, allocations: 52.12 kB / 430.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009116/0.3408, allocations: 479.2 kB / 431.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.3408, allocations: 0 / 431.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-05/0.3409, allocations: 20 kB / 431.4 MB, free: 5.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.3409, allocations: 12 kB / 431.4 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000666/0.3416, allocations: 323.8 kB / 431.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002774/0.3444, allocations: 1.673 MB / 433.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007852/0.3451, allocations: 359.9 kB / 433.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006623/0.3458, allocations: 253.4 kB / 434 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/0.3458, allocations: 4.328 kB / 434 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005665/0.3464, allocations: 298.8 kB / 434.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.763e-06/0.3464, allocations: 4 kB / 434.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002434/0.3488, allocations: 0.7643 MB / 435.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/0.3489, allocations: 89.11 kB / 435.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.3493, allocations: 312.5 kB / 435.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.3493, allocations: 41.69 kB / 435.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.3495, allocations: 216.7 kB / 435.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.3497, allocations: 146.8 kB / 435.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.3498, allocations: 90.08 kB / 436 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.35, allocations: 346.8 kB / 436.3 MB, free: 372 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.3502, allocations: 117 kB / 436.4 MB, free: 256 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/0.3506, allocations: 278.1 kB / 436.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/0.3512, allocations: 383.1 kB / 437.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3512, allocations: 7.938 kB / 437.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008981/0.3521, allocations: 0.494 MB / 437.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.3522, allocations: 8 kB / 437.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.3522, allocations: 4 kB / 437.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005014/0.3527, allocations: 147.6 kB / 437.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.3529, allocations: 67.84 kB / 437.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003164/0.3561, allocations: 2.413 MB / 440.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.3564, allocations: 43.73 kB / 440.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.3564, allocations: 16 kB / 440.3 MB, free: 12.17 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.0002759/0.3567, allocations: 181.6 kB / 440.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-05/0.3568, allocations: 43.7 kB / 440.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.3569, allocations: 48.3 kB / 440.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3569, allocations: 4 kB / 440.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3569, allocations: 0 / 440.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3569, allocations: 4 kB / 440.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.3585, allocations: 0.9221 MB / 441.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3585, allocations: 0 / 441.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.3586, allocations: 39.91 kB / 441.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003898/0.359, allocations: 139.9 kB / 441.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.359, allocations: 16.03 kB / 441.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002985/0.362, allocations: 2.399 MB / 444 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.362, allocations: 0 / 444 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.3633, allocations: 0.7212 MB / 444.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.3635, allocations: 79.67 kB / 444.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.853e-05/0.3635, allocations: 19.97 kB / 444.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.3637, allocations: 8 kB / 444.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.3638, allocations: 39.92 kB / 444.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.3639, allocations: 12 kB / 444.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002675/0.3641, allocations: 223.1 kB / 445.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3641, allocations: 0 / 445.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000649/0.3648, allocations: 143.8 kB / 445.3 MB, free: 6.941 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.001587/0.3664, allocations: 1.26 MB / 446.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.3674, allocations: 0.5294 MB / 447.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3675, allocations: 0 / 447.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005674/0.368, allocations: 375 kB / 447.4 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.3685, allocations: 84.55 kB / 447.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005704/0.3742, allocations: 3.933 MB / 451.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.3745, allocations: 224.7 kB / 451.7 MB, free: 288 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001509/0.3746, allocations: 35.31 kB / 451.7 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.3748, allocations: 143.4 kB / 451.8 MB, free: 108 kB / 350.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3748, allocations: 0 / 451.8 MB, free: 108 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04784/0.4227, allocations: 11.24 MB / 463.1 MB, free: 5.172 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/12.97, allocations: 8.062 kB / 463.1 MB, free: 5.164 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.402045983821154]