Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.0009411/0.0009411, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001189/0.001189, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9117/0.9117, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_1_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_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.845e-05, allocations: 2.281 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004179/0.004197, allocations: 4.351 MB / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.006396, allocations: 1.34 MB / 330.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004437/0.00684, allocations: 35.75 kB / 330.3 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005347/0.007374, allocations: 222.4 kB / 330.5 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006803/0.008055, allocations: 381.5 kB / 330.9 MB, free: 9.574 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.008431, allocations: 227.5 kB / 331.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.00953, allocations: 1.591 MB / 332.7 MB, free: 7.754 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005278/0.01006, allocations: 0.5476 MB / 333.3 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008005/0.01086, allocations: 0.959 MB / 334.2 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006602/0.01152, allocations: 0.6975 MB / 334.9 MB, free: 5.516 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.01165, allocations: 164 kB / 335.1 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.01184, allocations: 176 kB / 335.3 MB, free: 5.184 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.01209, allocations: 458.7 kB / 335.7 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.01244, allocations: 0.495 MB / 336.2 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.01372, allocations: 2.158 MB / 338.4 MB, free: 2.074 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.01372, allocations: 0 / 338.4 MB, free: 2.074 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.01372, allocations: 0 / 338.4 MB, free: 2.074 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.269e-05/0.01375, allocations: 0 / 338.4 MB, free: 2.074 MB / 298.7 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.002122/0.01587, allocations: 1.884 MB / 340.2 MB, free: 144 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.0159, allocations: 8.031 kB / 340.3 MB, free: 136 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.01604, allocations: 156.5 kB / 340.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003016/0.01635, allocations: 172 kB / 340.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009004/0.01725, allocations: 0.9156 MB / 341.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.01728, allocations: 78.38 kB / 341.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-05/0.01737, allocations: 92.38 kB / 341.7 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003604/0.02098, allocations: 1.497 MB / 343.2 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/0.02101, allocations: 0 / 343.2 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.02112, allocations: 40 kB / 343.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.669e-05/0.02118, allocations: 45.98 kB / 343.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.02275, allocations: 1.292 MB / 344.5 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003997/0.02674, allocations: 3.924 MB / 348.5 MB, free: 7.754 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.02778, allocations: 0.9996 MB / 349.5 MB, free: 6.758 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007812/0.02856, allocations: 0.681 MB / 350.1 MB, free: 6.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.0286, allocations: 8.656 kB / 350.1 MB, free: 6.062 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005952/0.02919, allocations: 0.6439 MB / 350.8 MB, free: 5.383 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 1.653e-06/0.02919, allocations: 0 / 350.8 MB, free: 5.383 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.004052/0.03325, allocations: 2.755 MB / 353.5 MB, free: 2.617 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.03331, allocations: 115.5 kB / 353.7 MB, free: 2.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008683/0.03418, allocations: 0.8481 MB / 354.5 MB, free: 1.625 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.03422, allocations: 45.69 kB / 354.5 MB, free: 1.574 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.03447, allocations: 0.489 MB / 355 MB, free: 1.078 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.03461, allocations: 257.8 kB / 355.3 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.03475, allocations: 130.7 kB / 355.4 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.03484, allocations: 341.9 kB / 355.7 MB, free: 360 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/0.03525, allocations: 397.7 kB / 356.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.03572, allocations: 0.5957 MB / 356.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008442/0.03656, allocations: 0.917 MB / 357.6 MB, free: 14.33 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.03657, allocations: 0 / 357.6 MB, free: 14.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001355/0.03793, allocations: 1.29 MB / 358.9 MB, free: 13.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.03795, allocations: 8.453 kB / 358.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.03796, allocations: 8 kB / 359 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006525/0.03861, allocations: 465 kB / 359.4 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.0388, allocations: 91.83 kB / 359.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004598/0.0434, allocations: 5.422 MB / 364.9 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.04367, allocations: 91.53 kB / 365 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.04371, allocations: 24 kB / 365 MB, free: 6.809 MB / 330.7 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_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) * 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.0006373/0.04434, allocations: 459.5 kB / 365.5 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.0445, allocations: 99.36 kB / 365.6 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.04462, allocations: 112.7 kB / 365.7 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.04462, allocations: 8 kB / 365.7 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.04463, allocations: 0 / 365.7 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.04464, allocations: 3.984 kB / 365.7 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.04719, allocations: 2.43 MB / 368.1 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.0472, allocations: 0 / 368.1 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.04735, allocations: 67.89 kB / 368.2 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005819/0.04793, allocations: 464.5 kB / 368.6 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.04797, allocations: 8 kB / 368.7 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004545/0.05251, allocations: 5.349 MB / 374 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.05251, allocations: 0 / 374 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.05439, allocations: 1.905 MB / 375.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/0.05472, allocations: 207.2 kB / 376.1 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.817e-05/0.05478, allocations: 19.94 kB / 376.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.055, allocations: 35.95 kB / 376.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.05514, allocations: 80.5 kB / 376.2 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.05517, allocations: 19.94 kB / 376.3 MB, free: 11.37 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005731/0.05574, allocations: 0.6044 MB / 376.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.05574, allocations: 0 / 376.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009902/0.05673, allocations: 343.3 kB / 377.2 MB, free: 10.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.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: 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.001959/0.05869, allocations: 2.472 MB / 379.7 MB, free: 7.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.06012, allocations: 1.248 MB / 380.9 MB, free: 6.668 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.06012, allocations: 8.188 kB / 380.9 MB, free: 6.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007595/0.06088, allocations: 0.7893 MB / 381.7 MB, free: 5.859 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007153/0.0616, allocations: 270.9 kB / 382 MB, free: 5.594 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.07238, allocations: 9.895 MB / 391.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.07295, allocations: 0.7382 MB / 392.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003244/0.07328, allocations: 143.4 kB / 392.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/0.07362, allocations: 388.3 kB / 393.1 MB, free: 10.17 MB / 362.7 MB Notification: Performance of SimCode: time 2.134e-06/0.07362, allocations: 4 kB / 393.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04764/0.1213, allocations: 30.01 MB / 423.2 MB, free: 12.53 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.153/8.274, allocations: 11.14 kB / 423.2 MB, free: 12.52 MB / 394.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 10.015249196439981]