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.0009354/0.0009354, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.000952/0.000952, allocations: 168.7 kB / 24.91 MB, free: 9.191 MB / 18.57 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 0.9562/0.9562, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 1.663e-06/1.663e-06, allocations: 0 / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.908e-05, allocations: 2.312 kB / 273.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00352/0.003539, allocations: 3.726 MB / 277.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.005556, allocations: 1.009 MB / 278.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.005822, allocations: 11.94 kB / 278.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.006033, allocations: 79.17 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.006367, allocations: 154.6 kB / 278.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.006742, allocations: 183.5 kB / 278.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005552/0.007297, allocations: 0.634 MB / 279.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.007535, allocations: 149.2 kB / 279.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004447/0.00798, allocations: 363.1 kB / 279.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.008246, allocations: 195.4 kB / 280 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.077e-05/0.008307, allocations: 56 kB / 280 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-05/0.008401, allocations: 60 kB / 280.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.327e-05/0.008475, allocations: 127.5 kB / 280.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.008609, allocations: 187.5 kB / 280.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004198/0.009029, allocations: 414.5 kB / 280.8 MB, free: 9.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.009034, allocations: 3.984 kB / 280.8 MB, free: 9.887 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.009035, allocations: 0 / 280.8 MB, free: 9.887 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.009044, allocations: 0 / 280.8 MB, free: 9.887 MB / 266.7 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.000798/0.009842, allocations: 0.7148 MB / 281.5 MB, free: 9.148 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.009874, allocations: 12.03 kB / 281.6 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.01003, allocations: 80.86 kB / 281.6 MB, free: 9.059 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.01033, allocations: 253.5 kB / 281.9 MB, free: 8.781 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.01035, allocations: 33.38 kB / 281.9 MB, free: 8.746 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.0104, allocations: 48.38 kB / 282 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.01073, allocations: 368.4 kB / 282.3 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.01074, allocations: 8.078 kB / 282.3 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.01077, allocations: 27.88 kB / 282.4 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.01078, allocations: 12 kB / 282.4 MB, free: 8.262 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.01094, allocations: 114.9 kB / 282.5 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.01219, allocations: 1.33 MB / 283.8 MB, free: 6.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.01251, allocations: 247.5 kB / 284 MB, free: 6.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.01274, allocations: 176.3 kB / 284.2 MB, free: 6.328 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.01276, allocations: 8.312 kB / 284.2 MB, free: 6.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.01299, allocations: 242.7 kB / 284.5 MB, free: 6.059 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 2.384e-06/0.013, allocations: 0 / 284.5 MB, free: 6.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009185/0.01391, allocations: 0.4911 MB / 285 MB, free: 5.559 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.01396, allocations: 93.05 kB / 285 MB, free: 5.449 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.01412, allocations: 278.9 kB / 285.3 MB, free: 5.164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002841/0.01441, allocations: 37.7 kB / 285.4 MB, free: 5.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.63e-05/0.01449, allocations: 205.7 kB / 285.6 MB, free: 4.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/0.01457, allocations: 138.8 kB / 285.7 MB, free: 4.781 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-05/0.01465, allocations: 86.14 kB / 285.8 MB, free: 4.691 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.838e-05/0.01474, allocations: 346.7 kB / 286.1 MB, free: 4.344 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.353e-05/0.01481, allocations: 44.98 kB / 286.2 MB, free: 4.301 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.01494, allocations: 202.1 kB / 286.4 MB, free: 4.039 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.01516, allocations: 262.3 kB / 286.6 MB, free: 3.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01516, allocations: 0 / 286.6 MB, free: 3.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003268/0.01549, allocations: 297.9 kB / 286.9 MB, free: 3.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.0155, allocations: 8 kB / 286.9 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.01551, allocations: 4 kB / 286.9 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002239/0.01574, allocations: 106.2 kB / 287 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.01589, allocations: 68.12 kB / 287.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.01717, allocations: 1.851 MB / 288.9 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.0173, allocations: 47.72 kB / 289 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.01732, allocations: 12 kB / 289 MB, free: 1.258 MB / 266.7 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.0001099/0.01743, allocations: 144.6 kB / 289.1 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.01747, allocations: 43.89 kB / 289.2 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.938e-05/0.01752, allocations: 48.3 kB / 289.2 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.01752, allocations: 4 kB / 289.2 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.01752, allocations: 4 kB / 289.2 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01753, allocations: 4.094 kB / 289.2 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.01812, allocations: 0.5521 MB / 289.8 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.01812, allocations: 4 kB / 289.8 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.441e-05/0.01822, allocations: 31.98 kB / 289.8 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/0.0184, allocations: 92.83 kB / 289.9 MB, free: 300 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.01842, allocations: 16.03 kB / 289.9 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1109/0.1293, allocations: 1.825 MB / 291.8 MB, free: 24.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1293, allocations: 2.766 kB / 291.8 MB, free: 24.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/0.1298, allocations: 411.8 kB / 292.2 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.1299, allocations: 50.42 kB / 292.2 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.13, allocations: 10.16 kB / 292.2 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.1301, allocations: 16.59 kB / 292.2 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.1302, allocations: 34.62 kB / 292.3 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.1302, allocations: 10.27 kB / 292.3 MB, free: 24.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.882e-05/0.1303, allocations: 109.8 kB / 292.4 MB, free: 24.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1303, allocations: 0 / 292.4 MB, free: 24.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004307/0.1307, allocations: 148.6 kB / 292.5 MB, free: 24.09 MB / 266.7 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.0001107/0.1308, allocations: 98.83 kB / 292.6 MB, free: 24.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004772/0.1313, allocations: 407.4 kB / 293 MB, free: 23.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.1313, allocations: 3.312 kB / 293 MB, free: 23.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.1316, allocations: 319.6 kB / 293.3 MB, free: 23.74 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.1318, allocations: 71.62 kB / 293.4 MB, free: 23.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1331, allocations: 0.8243 MB / 294.2 MB, free: 23.35 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.736e-05/0.1332, allocations: 124 kB / 294.4 MB, free: 23.28 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.1333, allocations: 40.64 kB / 294.4 MB, free: 23.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.1334, allocations: 119.3 kB / 294.5 MB, free: 23.23 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1334, allocations: 3.969 kB / 294.5 MB, free: 23.23 MB / 266.7 MB Notification: Performance of Templates: time 0.0108/0.1442, allocations: 6.942 MB / 301.5 MB, free: 21.7 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.703704730141908]