Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001821/0.001821, allocations: 69.72 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.002275/0.002275, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.438/1.438, allocations: 177.2 MB / 204.9 MB, free: 9.008 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.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.1.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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 55.81 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09009/0.09164, allocations: 53.34 MB / 378.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005042/0.09668, allocations: 3.432 MB / 382.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.0983, allocations: 0.9583 MB / 383.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.09848, allocations: 11.94 kB / 383.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.09873, allocations: 83.22 kB / 383.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.09907, allocations: 146.7 kB / 383.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.09946, allocations: 187.6 kB / 383.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006465/0.1001, allocations: 0.6149 MB / 384.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002812/0.1004, allocations: 136.6 kB / 384.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/0.1008, allocations: 251 kB / 384.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.1011, allocations: 214.9 kB / 384.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.935e-05/0.1012, allocations: 56 kB / 385 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.1013, allocations: 67.98 kB / 385.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.1016, allocations: 127.5 kB / 385.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000267/0.1018, allocations: 227 kB / 385.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007295/0.1026, allocations: 0.6498 MB / 386.1 MB, free: 8.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1026, allocations: 0 / 386.1 MB, free: 8.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1026, allocations: 0 / 386.1 MB, free: 8.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.1026, allocations: 0 / 386.1 MB, free: 8.461 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.00159/0.1042, allocations: 0.8592 MB / 386.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1042, allocations: 8.031 kB / 386.9 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.1044, allocations: 68.59 kB / 387 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/0.1049, allocations: 319.2 kB / 387.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.105, allocations: 33.38 kB / 387.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.891e-05/0.1051, allocations: 44.38 kB / 387.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008081/0.1059, allocations: 495.2 kB / 387.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.1059, allocations: 0 / 387.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.1059, allocations: 20 kB / 387.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1059, allocations: 8 kB / 387.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006318/0.1066, allocations: 327.7 kB / 388.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/0.1089, allocations: 1.624 MB / 389.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006905/0.1096, allocations: 351.9 kB / 390.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006206/0.1102, allocations: 252.6 kB / 390.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.1103, allocations: 4.328 kB / 390.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004842/0.1108, allocations: 290.9 kB / 390.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.643e-06/0.1108, allocations: 0 / 390.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002294/0.1131, allocations: 0.776 MB / 391.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.1131, allocations: 85.05 kB / 391.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.1135, allocations: 308.5 kB / 391.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.1135, allocations: 33.7 kB / 391.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.1137, allocations: 229.2 kB / 392.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.1138, allocations: 142.8 kB / 392.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.1139, allocations: 86.14 kB / 392.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1141, allocations: 350.7 kB / 392.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.1144, allocations: 121 kB / 392.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.1147, allocations: 274.1 kB / 393.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005907/0.1153, allocations: 391.3 kB / 393.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1153, allocations: 0 / 393.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008899/0.1162, allocations: 0.5016 MB / 394 MB, free: 160 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1162, allocations: 8 kB / 394 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1162, allocations: 11.88 kB / 394 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000465/0.1167, allocations: 148.7 kB / 394.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.1169, allocations: 67.95 kB / 394.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/0.1199, allocations: 2.375 MB / 396.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.1201, allocations: 39.73 kB / 396.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.1201, allocations: 20 kB / 396.6 MB, free: 13.39 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_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.0002242/0.1204, allocations: 185.7 kB / 396.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.1204, allocations: 39.77 kB / 396.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.1205, allocations: 52.23 kB / 396.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1205, allocations: 4 kB / 396.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.1205, allocations: 4 kB / 396.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1205, allocations: 0 / 396.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.122, allocations: 0.8758 MB / 397.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.122, allocations: 0 / 397.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.1221, allocations: 39.91 kB / 397.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003843/0.1225, allocations: 149.1 kB / 398 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.1226, allocations: 4 kB / 398 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002859/0.1254, allocations: 2.387 MB / 400.4 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1254, allocations: 0 / 400.4 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.1266, allocations: 0.7059 MB / 401.1 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.1268, allocations: 67.7 kB / 401.1 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.1268, allocations: 12 kB / 401.1 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.127, allocations: 11.98 kB / 401.2 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/0.1271, allocations: 43.88 kB / 401.2 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.1272, allocations: 23.98 kB / 401.2 MB, free: 8.613 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002328/0.1274, allocations: 211 kB / 401.4 MB, free: 8.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1274, allocations: 0 / 401.4 MB, free: 8.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005756/0.128, allocations: 155.7 kB / 401.6 MB, free: 8.258 MB / 366.1 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_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,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.0001367/0.1281, allocations: 112.1 kB / 401.7 MB, free: 8.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.1291, allocations: 0.529 MB / 402.2 MB, free: 7.598 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1291, allocations: 0 / 402.2 MB, free: 7.598 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005682/0.1297, allocations: 367.2 kB / 402.6 MB, free: 7.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.1301, allocations: 77.31 kB / 402.7 MB, free: 7.152 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.1318, allocations: 0.9009 MB / 403.6 MB, free: 6.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.1321, allocations: 224.8 kB / 403.8 MB, free: 5.973 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.1322, allocations: 39.27 kB / 403.8 MB, free: 5.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.1323, allocations: 28.5 kB / 403.8 MB, free: 5.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1323, allocations: 0 / 403.8 MB, free: 5.91 MB / 366.1 MB Notification: Performance of Templates: time 0.01353/0.1458, allocations: 6.478 MB / 410.3 MB, free: 15.6 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.402252134983428]