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.001821/0.001821, allocations: 73.64 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.002177/0.002177, allocations: 159.3 kB / 24.5 MB, free: 3.715 MB / 14.72 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 1.422/1.422, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002418/0.002418, allocations: 51.78 kB / 325.6 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1081, allocations: 53.34 MB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006366/0.1145, allocations: 4.35 MB / 383.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002908/0.1174, allocations: 1.316 MB / 384.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00057/0.1179, allocations: 35.75 kB / 384.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007985/0.1187, allocations: 230.4 kB / 384.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.1198, allocations: 373.9 kB / 385.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.1203, allocations: 223.6 kB / 385.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.122, allocations: 1.537 MB / 387 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007922/0.1228, allocations: 0.5438 MB / 387.5 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007189/0.1235, allocations: 0.6736 MB / 388.2 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.1246, allocations: 0.7783 MB / 389 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002272/0.1248, allocations: 164 kB / 389.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002983/0.1251, allocations: 171.9 kB / 389.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004248/0.1255, allocations: 442.7 kB / 389.7 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006427/0.1262, allocations: 0.5951 MB / 390.3 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002182/0.1283, allocations: 2.122 MB / 392.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1283, allocations: 0 / 392.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1283, allocations: 0 / 392.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.1284, allocations: 4 kB / 392.4 MB, free: 2.043 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003337/0.1317, allocations: 1.896 MB / 394.3 MB, free: 100 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1317, allocations: 12.03 kB / 394.4 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005187/0.1323, allocations: 176.1 kB / 394.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.1338, allocations: 0.9046 MB / 395.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.819e-05/0.1339, allocations: 78.38 kB / 395.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.134, allocations: 100.1 kB / 395.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/0.1364, allocations: 1.501 MB / 397.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.1364, allocations: 4 kB / 397.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.1365, allocations: 43.92 kB / 397.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.337e-05/0.1366, allocations: 45.98 kB / 397.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002141/0.1387, allocations: 1.292 MB / 398.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005865/0.1446, allocations: 3.773 MB / 402.3 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.1462, allocations: 0.9966 MB / 403.3 MB, free: 7.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.1475, allocations: 0.6693 MB / 403.9 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.1475, allocations: 16.66 kB / 403.9 MB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.1485, allocations: 0.64 MB / 404.6 MB, free: 5.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.154e-06/0.1485, allocations: 0 / 404.6 MB, free: 5.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007368/0.1559, allocations: 2.751 MB / 407.3 MB, free: 2.898 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.156, allocations: 115.5 kB / 407.4 MB, free: 2.762 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.157, allocations: 0.805 MB / 408.3 MB, free: 1.945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.758e-05/0.1571, allocations: 41.7 kB / 408.3 MB, free: 1.898 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004196/0.1575, allocations: 0.4968 MB / 408.8 MB, free: 1.395 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.1577, allocations: 257.9 kB / 409 MB, free: 1.141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.1579, allocations: 130.7 kB / 409.2 MB, free: 1.008 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.1581, allocations: 394.7 kB / 409.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006417/0.1588, allocations: 397.7 kB / 409.9 MB, free: 232 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008712/0.1596, allocations: 0.5996 MB / 410.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.1611, allocations: 0.9171 MB / 411.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1611, allocations: 3.938 kB / 411.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002248/0.1634, allocations: 1.29 MB / 412.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.1634, allocations: 8 kB / 412.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.1634, allocations: 4 kB / 412.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.1645, allocations: 472.8 kB / 413.2 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.1649, allocations: 95.83 kB / 413.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007436/0.1723, allocations: 5.368 MB / 418.7 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005124/0.1728, allocations: 87.58 kB / 418.8 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/0.1729, allocations: 28 kB / 418.8 MB, free: 7.125 MB / 382.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: 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.0006625/0.1736, allocations: 455.7 kB / 419.2 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.1737, allocations: 95.38 kB / 419.3 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.1739, allocations: 116.4 kB / 419.5 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1739, allocations: 8 kB / 419.5 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.1739, allocations: 0 / 419.5 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.1739, allocations: 11.98 kB / 419.5 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003809/0.1777, allocations: 2.294 MB / 421.8 MB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1777, allocations: 0 / 421.8 MB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.178, allocations: 63.91 kB / 421.8 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009786/0.179, allocations: 464.8 kB / 422.3 MB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.811e-05/0.1791, allocations: 20 kB / 422.3 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00721/0.1863, allocations: 5.318 MB / 427.6 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1863, allocations: 0 / 427.6 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002869/0.1891, allocations: 1.89 MB / 429.5 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004167/0.1896, allocations: 199.2 kB / 429.7 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.921e-05/0.1897, allocations: 20.11 kB / 429.7 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.1901, allocations: 55.83 kB / 429.8 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/0.1903, allocations: 76.52 kB / 429.9 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.1903, allocations: 19.98 kB / 429.9 MB, free: 11.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007664/0.1911, allocations: 0.5732 MB / 430.4 MB, free: 11.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1911, allocations: 0 / 430.4 MB, free: 11.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009543/0.192, allocations: 355.2 kB / 430.8 MB, free: 10.95 MB / 398.1 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.0001842/0.1922, allocations: 135.2 kB / 430.9 MB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.1944, allocations: 1.251 MB / 432.2 MB, free: 9.539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1944, allocations: 3.938 kB / 432.2 MB, free: 9.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.1956, allocations: 0.7899 MB / 433 MB, free: 8.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.1967, allocations: 254.7 kB / 433.2 MB, free: 8.488 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/0.2009, allocations: 2.383 MB / 435.6 MB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008339/0.2017, allocations: 0.7381 MB / 436.3 MB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003544/0.2021, allocations: 139.1 kB / 436.5 MB, free: 5.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.2022, allocations: 56.5 kB / 436.5 MB, free: 5.102 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2022, allocations: 0 / 436.5 MB, free: 5.102 MB / 398.1 MB Notification: Performance of Templates: time 0.03002/0.2323, allocations: 18.6 MB / 455.1 MB, free: 2.766 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/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: 4.98300038697198]