Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.0008038/0.0008038, allocations: 79.7 kB / 21.43 MB, free: 3.129 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.004893/0.004893, allocations: 167.7 kB / 24.7 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8537/0.8537, allocations: 158.6 MB / 186.5 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.841e-05, allocations: 2.281 kB / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003209/0.003227, allocations: 3.359 MB / 301.8 MB, free: 112 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1196/0.1229, allocations: 0.9142 MB / 302.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.123, allocations: 9.438 kB / 302.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.1232, allocations: 83.7 kB / 302.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.1235, allocations: 152.1 kB / 303 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.1237, allocations: 164.9 kB / 303.1 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.1241, allocations: 0.624 MB / 303.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.1243, allocations: 140.5 kB / 303.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.1246, allocations: 345.6 kB / 304.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.1248, allocations: 179.1 kB / 304.4 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-05/0.1249, allocations: 58.75 kB / 304.5 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.166e-05/0.1249, allocations: 55.09 kB / 304.5 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.885e-05/0.125, allocations: 120.6 kB / 304.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.1251, allocations: 184.3 kB / 304.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004817/0.1256, allocations: 0.6383 MB / 305.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1256, allocations: 0 / 305.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1256, allocations: 3.375 kB / 305.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1256, allocations: 0 / 305.5 MB, free: 12.38 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0009404/0.1265, allocations: 0.8275 MB / 306.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1266, allocations: 14.31 kB / 306.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.885e-05/0.1266, allocations: 81.84 kB / 306.4 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.1267, allocations: 57.25 kB / 306.4 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.127, allocations: 299.9 kB / 306.7 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.127, allocations: 34.56 kB / 306.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.1271, allocations: 46.17 kB / 306.8 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004926/0.1276, allocations: 478.4 kB / 307.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1276, allocations: 5.062 kB / 307.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.1276, allocations: 17.47 kB / 307.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.1276, allocations: 10.56 kB / 307.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/0.128, allocations: 322.8 kB / 307.6 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.1293, allocations: 1.654 MB / 309.3 MB, free: 9.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.1298, allocations: 347.5 kB / 309.6 MB, free: 9.656 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.1302, allocations: 252.6 kB / 309.9 MB, free: 9.574 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.1302, allocations: 4.812 kB / 309.9 MB, free: 9.574 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003243/0.1305, allocations: 297.2 kB / 310.2 MB, free: 9.406 MB / 282.7 MB Notification: Performance of pre-optimization done (n=43): time 1.543e-06/0.1305, allocations: 4 kB / 310.2 MB, free: 9.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.001428/0.1319, allocations: 0.767 MB / 310.9 MB, free: 9.141 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.132, allocations: 87.86 kB / 311 MB, free: 9.043 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.1322, allocations: 315.7 kB / 311.3 MB, free: 8.871 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.1322, allocations: 36.58 kB / 311.4 MB, free: 8.832 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.83e-05/0.1323, allocations: 218.5 kB / 311.6 MB, free: 8.652 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/0.1324, allocations: 138.4 kB / 311.7 MB, free: 8.547 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-05/0.1325, allocations: 83.47 kB / 311.8 MB, free: 8.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.548e-05/0.1325, allocations: 355 kB / 312.1 MB, free: 8.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.1327, allocations: 119.2 kB / 312.3 MB, free: 8.121 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.1328, allocations: 279.1 kB / 312.5 MB, free: 7.883 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.1332, allocations: 388 kB / 312.9 MB, free: 7.605 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1332, allocations: 1.312 kB / 312.9 MB, free: 7.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000532/0.1337, allocations: 0.503 MB / 313.4 MB, free: 7.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1337, allocations: 6.875 kB / 313.4 MB, free: 7.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1337, allocations: 7.312 kB / 313.4 MB, free: 7.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003148/0.1341, allocations: 156.2 kB / 313.6 MB, free: 7.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.1342, allocations: 68.25 kB / 313.6 MB, free: 7.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.1358, allocations: 2.407 MB / 316 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.1359, allocations: 43.44 kB / 316.1 MB, free: 5.371 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.1359, allocations: 19.12 kB / 316.1 MB, free: 5.367 MB / 282.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0001242/0.1361, allocations: 176.6 kB / 316.3 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.1361, allocations: 47.48 kB / 316.3 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.916e-05/0.1361, allocations: 44.69 kB / 316.4 MB, free: 5.148 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.1361, allocations: 4.125 kB / 316.4 MB, free: 5.148 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1361, allocations: 3.938 kB / 316.4 MB, free: 5.145 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1361, allocations: 3.906 kB / 316.4 MB, free: 5.145 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008991/0.137, allocations: 0.9219 MB / 317.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1371, allocations: 1.906 kB / 317.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.424e-05/0.1371, allocations: 38.28 kB / 317.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002304/0.1374, allocations: 139.7 kB / 317.5 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.1374, allocations: 12.16 kB / 317.5 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.1388, allocations: 2.41 MB / 319.9 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1388, allocations: 0.875 kB / 319.9 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/0.1395, allocations: 0.7038 MB / 320.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.86e-05/0.1396, allocations: 84 kB / 320.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.1396, allocations: 7.375 kB / 320.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.1397, allocations: 17.23 kB / 320.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.1398, allocations: 37.75 kB / 320.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1398, allocations: 14.22 kB / 320.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001462/0.14, allocations: 218.1 kB / 321 MB, free: 2.016 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.14, allocations: 5 kB / 321 MB, free: 2.012 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003976/0.1404, allocations: 148.1 kB / 321.1 MB, free: 1.977 MB / 282.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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.0007986/0.1412, allocations: 1.252 MB / 322.4 MB, free: 1.047 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006358/0.1418, allocations: 0.5137 MB / 322.9 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1418, allocations: 6.156 kB / 322.9 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003419/0.1421, allocations: 363.4 kB / 323.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.1425, allocations: 80.78 kB / 323.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.1465, allocations: 3.917 MB / 327.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.1467, allocations: 225.5 kB / 327.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.1468, allocations: 38.03 kB / 327.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.147, allocations: 139.2 kB / 327.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.147, allocations: 0 / 327.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.1743, allocations: 11.38 MB / 339 MB, free: 4.824 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/8.385, allocations: 0 / 339 MB, free: 4.824 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.956685779616237]