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.00136/0.00136, allocations: 80.06 kB / 20.67 MB, free: 3.879 MB / 18.57 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.001709/0.001709, allocations: 149.1 kB / 23.93 MB, free: 0.625 MB / 18.57 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 0.9178/0.9178, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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 2.304e-06/2.304e-06, allocations: 4 kB / 318.5 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.917e-05, allocations: 2.281 kB / 318.5 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003175/0.003194, allocations: 3.398 MB / 321.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.004572, allocations: 0.892 MB / 322.7 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.004767, allocations: 11.94 kB / 322.8 MB, free: 2.004 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.004947, allocations: 79.22 kB / 322.8 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.005227, allocations: 150.6 kB / 323 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.005516, allocations: 171.6 kB / 323.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004457/0.005961, allocations: 0.6262 MB / 323.8 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/0.006195, allocations: 144.5 kB / 323.9 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003088/0.006504, allocations: 351.2 kB / 324.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.006704, allocations: 179.3 kB / 324.4 MB, free: 324 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.815e-05/0.006762, allocations: 56 kB / 324.5 MB, free: 268 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.68e-05/0.006809, allocations: 59.94 kB / 324.6 MB, free: 208 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.503e-05/0.006884, allocations: 131.5 kB / 324.7 MB, free: 76 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.007017, allocations: 183.5 kB / 324.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006795/0.007696, allocations: 0.6503 MB / 325.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.007699, allocations: 0 / 325.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.0077, allocations: 0 / 325.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.007708, allocations: 4 kB / 325.5 MB, free: 15.24 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0009336/0.008641, allocations: 0.8284 MB / 326.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.008682, allocations: 12.03 kB / 326.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.69e-05/0.008749, allocations: 78.7 kB / 326.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.711e-05/0.008816, allocations: 56.61 kB / 326.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.009154, allocations: 306.4 kB / 326.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.009177, allocations: 37.36 kB / 326.8 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.009222, allocations: 44.38 kB / 326.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/0.009751, allocations: 491.8 kB / 327.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.009767, allocations: 3.938 kB / 327.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.009796, allocations: 16 kB / 327.4 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.009805, allocations: 12 kB / 327.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.01019, allocations: 323.8 kB / 327.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.01169, allocations: 1.674 MB / 329.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/0.01215, allocations: 356.5 kB / 329.7 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.01251, allocations: 249.4 kB / 330 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.01254, allocations: 4.328 kB / 330 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003145/0.01285, allocations: 298.9 kB / 330.3 MB, free: 10.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.793e-06/0.01286, allocations: 0 / 330.3 MB, free: 10.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001376/0.01423, allocations: 0.7642 MB / 331 MB, free: 9.488 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.01427, allocations: 85.11 kB / 331.1 MB, free: 9.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.01449, allocations: 308.5 kB / 331.4 MB, free: 9.074 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.01453, allocations: 41.69 kB / 331.4 MB, free: 9.027 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.01464, allocations: 224.6 kB / 331.7 MB, free: 8.805 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.142e-05/0.01471, allocations: 138.9 kB / 331.8 MB, free: 8.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.41e-05/0.01479, allocations: 86.14 kB / 331.9 MB, free: 8.578 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.01488, allocations: 350.7 kB / 332.2 MB, free: 8.227 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.01503, allocations: 117 kB / 332.3 MB, free: 8.109 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.0155, allocations: 285.9 kB / 332.6 MB, free: 7.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.01585, allocations: 379.3 kB / 333 MB, free: 7.348 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.01585, allocations: 4 kB / 333 MB, free: 7.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005338/0.01639, allocations: 0.4974 MB / 333.5 MB, free: 6.836 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.0164, allocations: 8.469 kB / 333.5 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01641, allocations: 4 kB / 333.5 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002947/0.0167, allocations: 151.5 kB / 333.6 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.01683, allocations: 63.91 kB / 333.7 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.01863, allocations: 2.415 MB / 336.1 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.01876, allocations: 43.77 kB / 336.2 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.01878, allocations: 24 kB / 336.2 MB, free: 4.023 MB / 298.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: 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.0001415/0.01892, allocations: 174 kB / 336.4 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.01896, allocations: 39.77 kB / 336.4 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.448e-05/0.01901, allocations: 52.23 kB / 336.5 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01902, allocations: 4 kB / 336.5 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.01902, allocations: 0 / 336.5 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.01902, allocations: 3.984 kB / 336.5 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009127/0.01994, allocations: 0.9411 MB / 337.4 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01994, allocations: 4.031 kB / 337.4 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.405e-05/0.02003, allocations: 35.92 kB / 337.4 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.02026, allocations: 148.8 kB / 337.6 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.02028, allocations: 11.98 kB / 337.6 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.02225, allocations: 2.395 MB / 340 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.02226, allocations: 0 / 340 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007213/0.02298, allocations: 0.7133 MB / 340.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.526e-05/0.02307, allocations: 71.7 kB / 340.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.0231, allocations: 8.281 kB / 340.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.02321, allocations: 19.92 kB / 340.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/0.02328, allocations: 35.94 kB / 340.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.0233, allocations: 15.98 kB / 340.9 MB, free: 15.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.02345, allocations: 219.1 kB / 341.1 MB, free: 14.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02345, allocations: 0 / 341.1 MB, free: 14.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003441/0.02379, allocations: 147.7 kB / 341.2 MB, free: 14.79 MB / 314.7 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.0009042/0.02469, allocations: 1.265 MB / 342.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000602/0.0253, allocations: 0.5259 MB / 343 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.0253, allocations: 0 / 343 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.02561, allocations: 362.1 kB / 343.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.0259, allocations: 85.48 kB / 343.4 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/0.02953, allocations: 3.937 MB / 347.4 MB, free: 8.375 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.02966, allocations: 224.8 kB / 347.6 MB, free: 8.137 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.215e-05/0.02974, allocations: 35.31 kB / 347.6 MB, free: 8.102 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.02987, allocations: 144.4 kB / 347.8 MB, free: 7.961 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02987, allocations: 0 / 347.8 MB, free: 7.961 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0343/0.06416, allocations: 11.38 MB / 359.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.131, allocations: 8.047 kB / 359.2 MB, free: 12.88 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/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: 9.874711717478931]