Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.001284/0.001284, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001285/0.001285, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.416/1.416, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.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.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_0_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_0_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.00164/0.00164, allocations: 51.92 kB / 365.7 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1105, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.007437/0.1179, allocations: 4.751 MB / 422.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003177/0.1211, allocations: 1.301 MB / 423.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/0.1216, allocations: 31.81 kB / 423.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007141/0.1223, allocations: 218.4 kB / 424.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008225/0.1231, allocations: 358 kB / 424.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.1236, allocations: 211.7 kB / 424.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001744/0.1253, allocations: 1.533 MB / 426.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.1264, allocations: 0.7112 MB / 426.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007749/0.1272, allocations: 0.6503 MB / 427.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.1282, allocations: 0.7744 MB / 428.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.1284, allocations: 164 kB / 428.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.1286, allocations: 164 kB / 428.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004579/0.1291, allocations: 442.7 kB / 429.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008167/0.1299, allocations: 0.7233 MB / 429.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.1321, allocations: 2.098 MB / 431.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1321, allocations: 0 / 431.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1321, allocations: 0 / 431.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.833e-05/0.1321, allocations: 4 kB / 431.9 MB, free: 14.4 MB / 366.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.003295/0.1354, allocations: 1.664 MB / 433.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.1355, allocations: 15.89 kB / 433.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002256/0.1357, allocations: 160.4 kB / 433.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.1359, allocations: 144 kB / 433.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.1376, allocations: 0.9508 MB / 434.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.62e-05/0.1376, allocations: 74.38 kB / 434.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.1378, allocations: 99.94 kB / 435 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.1402, allocations: 1.443 MB / 436.4 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.1403, allocations: 3.984 kB / 436.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.784e-05/0.1404, allocations: 43.98 kB / 436.5 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-05/0.1404, allocations: 38 kB / 436.5 MB, free: 9.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/0.1426, allocations: 1.304 MB / 437.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006602/0.1492, allocations: 4.309 MB / 442.1 MB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.1512, allocations: 1.896 MB / 444 MB, free: 1.816 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.1525, allocations: 0.6883 MB / 444.7 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.419e-05/0.1525, allocations: 12.66 kB / 444.7 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009632/0.1535, allocations: 0.6014 MB / 445.3 MB, free: 496 kB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.354e-06/0.1535, allocations: 0 / 445.3 MB, free: 496 kB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.2021/0.3556, allocations: 2.79 MB / 448.1 MB, free: 30.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.3557, allocations: 120.2 kB / 448.2 MB, free: 29.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.3569, allocations: 0.8181 MB / 449.1 MB, free: 29.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.3569, allocations: 43.97 kB / 449.1 MB, free: 29.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/0.3574, allocations: 496.3 kB / 449.6 MB, free: 29.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.3575, allocations: 250.9 kB / 449.8 MB, free: 29.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.3578, allocations: 139 kB / 450 MB, free: 29.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3579, allocations: 394.3 kB / 450.4 MB, free: 29.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005915/0.3585, allocations: 394.2 kB / 450.7 MB, free: 29.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000669/0.3592, allocations: 0.5464 MB / 451.3 MB, free: 29.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.3604, allocations: 0.9157 MB / 452.2 MB, free: 28.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.3604, allocations: 1.125 kB / 452.2 MB, free: 28.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002208/0.3626, allocations: 1.281 MB / 453.5 MB, free: 28.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.3626, allocations: 7.156 kB / 453.5 MB, free: 28.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.3626, allocations: 3.781 kB / 453.5 MB, free: 28.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.3638, allocations: 467.4 kB / 453.9 MB, free: 28.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.3641, allocations: 96.59 kB / 454 MB, free: 28.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006548/0.3707, allocations: 5.58 MB / 459.6 MB, free: 25.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006359/0.3713, allocations: 90.94 kB / 459.7 MB, free: 25.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.3714, allocations: 25.38 kB / 459.7 MB, free: 25.05 MB / 366.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_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: 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.0006694/0.372, allocations: 466.8 kB / 460.2 MB, free: 24.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.3722, allocations: 91.61 kB / 460.3 MB, free: 24.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.3724, allocations: 108.8 kB / 460.4 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.3724, allocations: 8.906 kB / 460.4 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3724, allocations: 0 / 460.4 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.3724, allocations: 8.109 kB / 460.4 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003893/0.3763, allocations: 2.578 MB / 463 MB, free: 23.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.3763, allocations: 1.906 kB / 463 MB, free: 23.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002978/0.3766, allocations: 67.45 kB / 463.1 MB, free: 23.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009215/0.3775, allocations: 448.4 kB / 463.5 MB, free: 23.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.277e-05/0.3776, allocations: 22.14 kB / 463.5 MB, free: 23.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005953/0.3835, allocations: 5.506 MB / 469 MB, free: 20.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3835, allocations: 8.844 kB / 469 MB, free: 20.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/0.3861, allocations: 1.894 MB / 470.9 MB, free: 19.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005003/0.3866, allocations: 279.9 kB / 471.2 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.3867, allocations: 12 kB / 471.2 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.3871, allocations: 51.78 kB / 471.3 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.3873, allocations: 68.39 kB / 471.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/0.3873, allocations: 22.34 kB / 471.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007654/0.3881, allocations: 0.5903 MB / 471.9 MB, free: 18.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3881, allocations: 0 / 471.9 MB, free: 18.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00108/0.3892, allocations: 343.9 kB / 472.3 MB, free: 18.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.002475/0.3917, allocations: 2.472 MB / 474.7 MB, free: 16.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002063/0.3937, allocations: 1.248 MB / 476 MB, free: 16.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3937, allocations: 3.938 kB / 476 MB, free: 16.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.3948, allocations: 0.7887 MB / 476.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.396, allocations: 282 kB / 477.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.4086, allocations: 9.754 MB / 486.8 MB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007963/0.4094, allocations: 1.325 MB / 488.1 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003962/0.4098, allocations: 141.1 kB / 488.3 MB, free: 6.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003937/0.4102, allocations: 383.3 kB / 488.6 MB, free: 5.875 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4102, allocations: 0 / 488.6 MB, free: 5.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09129/0.5014, allocations: 29.29 MB / 0.5058 GB, free: 9.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.5, allocations: 0 / 0.5058 GB, free: 9.012 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.99394448241219]