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.001645/0.001645, allocations: 115.5 kB / 18.45 MB, free: 4.602 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.001807/0.001807, allocations: 192.3 kB / 21.4 MB, free: 1.664 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.49/1.49, allocations: 225.6 MB / 249.8 MB, free: 3.625 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: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 47.91 kB / 366.8 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1047, allocations: 52.15 MB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005509/0.1102, allocations: 3.721 MB / 422.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.1119, allocations: 0.9193 MB / 423.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.1121, allocations: 4 kB / 423.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.1123, allocations: 87.09 kB / 423.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.1127, allocations: 142.8 kB / 423.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.1131, allocations: 167.7 kB / 424 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006955/0.1138, allocations: 0.6149 MB / 424.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000306/0.1141, allocations: 140.1 kB / 424.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.1144, allocations: 239.1 kB / 425 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003624/0.1147, allocations: 250.9 kB / 425.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.409e-05/0.1148, allocations: 56 kB / 425.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.086e-05/0.1149, allocations: 56 kB / 425.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.1151, allocations: 123.6 kB / 425.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.1153, allocations: 266.7 kB / 425.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000719/0.1161, allocations: 0.6342 MB / 426.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1161, allocations: 8 kB / 426.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1161, allocations: 0 / 426.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.1161, allocations: 0 / 426.4 MB, free: 4.652 MB / 350.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.001497/0.1176, allocations: 0.7919 MB / 427.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1176, allocations: 8.031 kB / 427.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.1177, allocations: 60.56 kB / 427.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005116/0.1182, allocations: 368.3 kB / 427.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.1183, allocations: 37.38 kB / 427.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.816e-05/0.1184, allocations: 40.38 kB / 427.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008282/0.1192, allocations: 469.5 kB / 428.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.1192, allocations: 0 / 428.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.1193, allocations: 16 kB / 428.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.1193, allocations: 12 kB / 428.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006396/0.12, allocations: 319.8 kB / 428.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.1226, allocations: 1.844 MB / 430.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008616/0.1235, allocations: 0.5712 MB / 430.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006092/0.1241, allocations: 241.3 kB / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.021e-05/0.1241, allocations: 16.3 kB / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005033/0.1246, allocations: 273.1 kB / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.1246, allocations: 3.938 kB / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.00248/0.1271, allocations: 0.8346 MB / 432.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/0.1272, allocations: 85.11 kB / 432.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.1276, allocations: 316.5 kB / 432.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.1276, allocations: 37.69 kB / 432.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.1278, allocations: 216.7 kB / 432.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.1279, allocations: 146.7 kB / 433 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.128, allocations: 86.25 kB / 433.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1282, allocations: 346.7 kB / 433.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.1285, allocations: 125 kB / 433.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.1288, allocations: 253 kB / 433.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000631/0.1294, allocations: 386.5 kB / 434.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1294, allocations: 0 / 434.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001001/0.1304, allocations: 0.5017 MB / 434.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.1305, allocations: 8 kB / 434.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.1305, allocations: 4 kB / 434.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005052/0.131, allocations: 148.6 kB / 434.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.1312, allocations: 63.91 kB / 434.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00329/0.1345, allocations: 2.543 MB / 437.5 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.1348, allocations: 43.75 kB / 437.5 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.1348, allocations: 20 kB / 437.5 MB, free: 8.863 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: 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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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.0002454/0.1351, allocations: 170.6 kB / 437.7 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/0.1351, allocations: 43.86 kB / 437.7 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.1353, allocations: 56.22 kB / 437.8 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1353, allocations: 4 kB / 437.8 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1353, allocations: 0 / 437.8 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1353, allocations: 3.984 kB / 437.8 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.1369, allocations: 1.016 MB / 438.8 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1369, allocations: 4 kB / 438.8 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.1371, allocations: 35.91 kB / 438.8 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004222/0.1375, allocations: 143 kB / 439 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.1375, allocations: 20.03 kB / 439 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003126/0.1407, allocations: 2.532 MB / 441.5 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1407, allocations: 0 / 441.5 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.1419, allocations: 0.7172 MB / 442.3 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.1421, allocations: 156.7 kB / 442.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.1422, allocations: 8 kB / 442.4 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.1424, allocations: 15.98 kB / 442.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.1425, allocations: 35.95 kB / 442.5 MB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.1426, allocations: 16 kB / 442.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002511/0.1428, allocations: 215.1 kB / 442.7 MB, free: 3.438 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1428, allocations: 4 kB / 442.7 MB, free: 3.434 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006185/0.1434, allocations: 143.8 kB / 442.8 MB, free: 3.293 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (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.0002157/0.1436, allocations: 119.9 kB / 442.9 MB, free: 3.168 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.1447, allocations: 0.533 MB / 443.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1447, allocations: 0 / 443.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000592/0.1453, allocations: 367.3 kB / 443.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.1458, allocations: 86.92 kB / 443.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.1476, allocations: 0.9003 MB / 444.8 MB, free: 1.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006623/0.1483, allocations: 0.8279 MB / 445.7 MB, free: 388 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.055e-05/0.1484, allocations: 27.44 kB / 445.7 MB, free: 360 kB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1484, allocations: 0 / 445.7 MB, free: 360 kB / 366.1 MB Notification: Performance of Templates: time 0.1764/0.3248, allocations: 7.042 MB / 452.7 MB, free: 29 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.860839233966544]