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.001411/0.001412, allocations: 116 kB / 18.41 MB, free: 4.664 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.001565/0.001565, allocations: 193.3 kB / 21.35 MB, free: 1.734 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.439/1.439, allocations: 222.9 MB / 247 MB, free: 4.207 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.001562/0.001562, allocations: 47.92 kB / 358.7 MB, free: 8.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1029, allocations: 49.44 MB / 408.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005301/0.1083, allocations: 3.707 MB / 411.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.1102, allocations: 0.9194 MB / 412.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002948/0.1105, allocations: 8 kB / 412.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1108, allocations: 83.16 kB / 412.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.1112, allocations: 134.8 kB / 413 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.1116, allocations: 159.8 kB / 413.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006913/0.1123, allocations: 0.6148 MB / 413.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/0.1127, allocations: 204.1 kB / 413.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.113, allocations: 235.1 kB / 414.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003326/0.1134, allocations: 254.8 kB / 414.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.363e-05/0.1135, allocations: 56 kB / 414.5 MB, free: 452 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.559e-05/0.1136, allocations: 60 kB / 414.5 MB, free: 392 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.1137, allocations: 119.5 kB / 414.6 MB, free: 272 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.114, allocations: 274.8 kB / 414.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007469/0.1148, allocations: 0.6263 MB / 415.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1148, allocations: 0 / 415.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1148, allocations: 4 kB / 415.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.1148, allocations: 0 / 415.5 MB, free: 15.36 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.001478/0.1163, allocations: 0.7958 MB / 416.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1163, allocations: 11.97 kB / 416.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.1165, allocations: 60.56 kB / 416.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005221/0.117, allocations: 380.3 kB / 416.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.117, allocations: 33.38 kB / 416.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-05/0.1171, allocations: 44.38 kB / 416.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008135/0.1179, allocations: 465.5 kB / 417.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.118, allocations: 0 / 417.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.586e-05/0.118, allocations: 20 kB / 417.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.118, allocations: 12 kB / 417.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006325/0.1187, allocations: 319.8 kB / 417.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002566/0.1213, allocations: 1.84 MB / 419.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008529/0.1221, allocations: 0.6059 MB / 420.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000626/0.1228, allocations: 273.3 kB / 420.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.1228, allocations: 4.328 kB / 420.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005046/0.1233, allocations: 277.1 kB / 420.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.505e-06/0.1233, allocations: 0 / 420.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002459/0.1258, allocations: 0.8385 MB / 421.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.139e-05/0.1259, allocations: 85.11 kB / 421.6 MB, free: 8.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.1263, allocations: 312.5 kB / 421.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.675e-05/0.1264, allocations: 37.69 kB / 421.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.1266, allocations: 216.7 kB / 422.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.1267, allocations: 142.8 kB / 422.3 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.1268, allocations: 90.25 kB / 422.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.127, allocations: 350.7 kB / 422.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.1273, allocations: 117.1 kB / 422.8 MB, free: 7.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.1277, allocations: 257 kB / 423.1 MB, free: 7.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006076/0.1283, allocations: 390.4 kB / 423.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.1283, allocations: 4 kB / 423.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009437/0.1292, allocations: 0.509 MB / 424 MB, free: 6.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1293, allocations: 8 kB / 424 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.1293, allocations: 4 kB / 424 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005051/0.1298, allocations: 155.4 kB / 424.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.1301, allocations: 63.91 kB / 424.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/0.1332, allocations: 2.544 MB / 426.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.1335, allocations: 39.81 kB / 426.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.1335, allocations: 16 kB / 426.8 MB, free: 3.492 MB / 350.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.0002658/0.1338, allocations: 182.5 kB / 427 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.865e-05/0.1338, allocations: 43.72 kB / 427 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.134, allocations: 52.23 kB / 427 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.134, allocations: 4 kB / 427.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.134, allocations: 4 kB / 427.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.134, allocations: 3.984 kB / 427.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.1356, allocations: 1.02 MB / 428.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1356, allocations: 0 / 428.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.1358, allocations: 35.97 kB / 428.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004036/0.1362, allocations: 148.7 kB / 428.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.1362, allocations: 12 kB / 428.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1798/0.316, allocations: 2.524 MB / 430.8 MB, free: 21.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3161, allocations: 8.531 kB / 430.8 MB, free: 21.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009711/0.317, allocations: 0.7159 MB / 431.5 MB, free: 21.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.3172, allocations: 153.4 kB / 431.7 MB, free: 21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.3173, allocations: 11.27 kB / 431.7 MB, free: 21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.3175, allocations: 21.3 kB / 431.7 MB, free: 21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3176, allocations: 29.73 kB / 431.7 MB, free: 21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.3176, allocations: 17.73 kB / 431.7 MB, free: 21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.3178, allocations: 216.4 kB / 432 MB, free: 20.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3178, allocations: 2.312 kB / 432 MB, free: 20.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005701/0.3184, allocations: 146.4 kB / 432.1 MB, free: 20.92 MB / 350.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.0001152/0.3185, allocations: 117.8 kB / 432.2 MB, free: 20.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008089/0.3193, allocations: 0.548 MB / 432.8 MB, free: 20.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3193, allocations: 0 / 432.8 MB, free: 20.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.3198, allocations: 395.3 kB / 433.2 MB, free: 20.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.3203, allocations: 79.31 kB / 433.2 MB, free: 20.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.3216, allocations: 0.8917 MB / 434.1 MB, free: 20.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.3218, allocations: 0.8254 MB / 434.9 MB, free: 19.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.927e-05/0.3219, allocations: 32.36 kB / 435 MB, free: 19.46 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3219, allocations: 0 / 435 MB, free: 19.46 MB / 350.1 MB Notification: Performance of Templates: time 0.01017/0.3321, allocations: 7.027 MB / 442 MB, free: 18.98 MB / 350.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.699993158108555]