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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=1000,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=1000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009282/0.0009281, allocations: 84.88 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 180.6 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.3 MB / 241.2 MB, free: 5.242 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002511/0.0002512, allocations: 12.22 kB / 300.8 MB, free: 5.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1122, allocations: 50.41 MB / 351.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004035/0.1163, allocations: 3.201 MB / 354.5 MB, free: 8.168 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1179, allocations: 0.873 MB / 355.3 MB, free: 7.293 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.1181, allocations: 8 kB / 355.3 MB, free: 7.285 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.1183, allocations: 59.53 kB / 355.4 MB, free: 7.227 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.1186, allocations: 119 kB / 355.5 MB, free: 7.109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.1188, allocations: 115.8 kB / 355.6 MB, free: 6.996 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005525/0.1194, allocations: 0.5485 MB / 356.2 MB, free: 6.445 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.1197, allocations: 149.7 kB / 356.3 MB, free: 6.285 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.1199, allocations: 179.2 kB / 356.5 MB, free: 6.109 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.1202, allocations: 207 kB / 356.7 MB, free: 5.906 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.184e-05/0.1202, allocations: 24 kB / 356.7 MB, free: 5.883 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.672e-05/0.1203, allocations: 24 kB / 356.7 MB, free: 5.859 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.542e-05/0.1204, allocations: 87.59 kB / 356.8 MB, free: 5.773 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.1205, allocations: 117.5 kB / 356.9 MB, free: 5.652 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.1209, allocations: 466.7 kB / 357.4 MB, free: 5.195 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.1209, allocations: 4 kB / 357.4 MB, free: 5.191 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1209, allocations: 0 / 357.4 MB, free: 5.191 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1209, allocations: 0 / 357.4 MB, free: 5.191 MB / 286.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.001188/0.1221, allocations: 0.6933 MB / 358.1 MB, free: 4.453 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1222, allocations: 12.03 kB / 358.1 MB, free: 4.441 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.1223, allocations: 63.3 kB / 358.2 MB, free: 4.379 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.1227, allocations: 359 kB / 358.5 MB, free: 3.988 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.1228, allocations: 33 kB / 358.5 MB, free: 3.957 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.624e-05/0.1229, allocations: 44 kB / 358.6 MB, free: 3.914 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000726/0.1236, allocations: 457.5 kB / 359 MB, free: 3.441 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1236, allocations: 0 / 359 MB, free: 3.441 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-05/0.1237, allocations: 23.98 kB / 359.1 MB, free: 3.418 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.1237, allocations: 8 kB / 359.1 MB, free: 3.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005775/0.1243, allocations: 327.8 kB / 359.4 MB, free: 3.09 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/0.1266, allocations: 1.875 MB / 361.3 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008039/0.1274, allocations: 0.5969 MB / 361.9 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005951/0.128, allocations: 279.2 kB / 362.1 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.1281, allocations: 4.328 kB / 362.1 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004752/0.1285, allocations: 273.2 kB / 362.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.593e-06/0.1286, allocations: 4 kB / 362.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002189/0.1308, allocations: 0.8383 MB / 363.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.1308, allocations: 85.11 kB / 363.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.1312, allocations: 316.4 kB / 363.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.1312, allocations: 37.69 kB / 363.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.1314, allocations: 216.4 kB / 363.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.1315, allocations: 138 kB / 364 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/0.1316, allocations: 12 kB / 364 MB, free: 14.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1317, allocations: 350.8 kB / 364.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.1319, allocations: 117.1 kB / 364.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.1322, allocations: 253 kB / 364.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.1325, allocations: 140 kB / 364.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.1325, allocations: 4 kB / 364.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009326/0.1335, allocations: 0.5097 MB / 365.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1335, allocations: 15.98 kB / 365.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1335, allocations: 4 kB / 365.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004509/0.134, allocations: 140.8 kB / 365.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.1342, allocations: 67.91 kB / 365.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0028/0.137, allocations: 2.31 MB / 367.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.1373, allocations: 35.69 kB / 368 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.1373, allocations: 20 kB / 368 MB, free: 10.04 MB / 302.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 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002327/0.1376, allocations: 178.3 kB / 368.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.887e-05/0.1376, allocations: 39.53 kB / 368.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.1377, allocations: 48.3 kB / 368.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1378, allocations: 7.938 kB / 368.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1378, allocations: 0 / 368.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.1378, allocations: 3.984 kB / 368.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.1393, allocations: 1.035 MB / 369.3 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.1393, allocations: 4 kB / 369.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.1395, allocations: 39.92 kB / 369.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003748/0.1399, allocations: 147.3 kB / 369.5 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.1399, allocations: 11.94 kB / 369.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002597/0.1425, allocations: 2.301 MB / 371.8 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.1425, allocations: 4.031 kB / 371.8 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.1436, allocations: 0.7121 MB / 372.5 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.1438, allocations: 156.5 kB / 372.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.1438, allocations: 8.281 kB / 372.7 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.144, allocations: 12 kB / 372.7 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.1441, allocations: 43.89 kB / 372.7 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.1442, allocations: 12 kB / 372.7 MB, free: 5.039 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002167/0.1444, allocations: 219.1 kB / 372.9 MB, free: 4.828 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1444, allocations: 0 / 372.9 MB, free: 4.828 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005779/0.145, allocations: 143.8 kB / 373.1 MB, free: 4.688 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001698/0.1451, allocations: 130.4 kB / 373.2 MB, free: 4.551 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009682/0.1461, allocations: 0.5256 MB / 373.7 MB, free: 4.012 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1461, allocations: 3.938 kB / 373.7 MB, free: 4.008 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005034/0.1466, allocations: 379.2 kB / 374.1 MB, free: 3.625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.1471, allocations: 73.05 kB / 374.2 MB, free: 3.555 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.1487, allocations: 1.032 MB / 375.2 MB, free: 2.492 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.1491, allocations: 0.832 MB / 376 MB, free: 1.637 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.1493, allocations: 39.39 kB / 376.1 MB, free: 1.594 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.397e-05/0.1494, allocations: 23.44 kB / 376.1 MB, free: 1.57 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1494, allocations: 4 kB / 376.1 MB, free: 1.566 MB / 302.1 MB Notification: Performance of Templates: time 0.01044/0.1598, allocations: 6.12 MB / 382.2 MB, free: 11.58 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (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) 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) Reference file matches