Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001569/0.001569, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001539/0.001539, allocations: 168.7 kB / 25.02 MB, free: 8.941 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.242e-05, allocations: 6.312 kB / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00567/0.005703, allocations: 3.367 MB / 253.8 MB, free: 4.426 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.007815, allocations: 0.9202 MB / 254.7 MB, free: 3.5 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.008003, allocations: 11.94 kB / 254.7 MB, free: 3.488 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.008267, allocations: 79.22 kB / 254.8 MB, free: 3.41 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003897/0.008657, allocations: 158.6 kB / 254.9 MB, free: 3.254 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.009047, allocations: 163.6 kB / 255.1 MB, free: 3.094 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.01008, allocations: 0.6222 MB / 255.7 MB, free: 2.469 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003567/0.01044, allocations: 143.9 kB / 255.8 MB, free: 2.32 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005121/0.01095, allocations: 343.2 kB / 256.2 MB, free: 1.984 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.01129, allocations: 179.4 kB / 256.4 MB, free: 1.809 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.831e-05/0.01139, allocations: 60 kB / 256.4 MB, free: 1.75 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.993e-05/0.01149, allocations: 56 kB / 256.5 MB, free: 1.695 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.01164, allocations: 115.6 kB / 256.6 MB, free: 1.578 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.0119, allocations: 187.5 kB / 256.8 MB, free: 1.395 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008449/0.01275, allocations: 0.6348 MB / 257.4 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.01275, allocations: 3.938 kB / 257.4 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01275, allocations: 0 / 257.4 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.01276, allocations: 3.938 kB / 257.4 MB, free: 0.75 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001702/0.01446, allocations: 0.8283 MB / 258.2 MB, free: 15.88 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.01451, allocations: 15.98 kB / 258.2 MB, free: 15.87 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.01469, allocations: 84.61 kB / 258.3 MB, free: 15.79 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.01524, allocations: 310.5 kB / 258.6 MB, free: 15.46 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.01529, allocations: 33.38 kB / 258.7 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.54e-05/0.01537, allocations: 40.38 kB / 258.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009597/0.01633, allocations: 479.8 kB / 259.2 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.01635, allocations: 192 / 259.2 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.396e-05/0.0164, allocations: 23.94 kB / 259.2 MB, free: 14.87 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.01642, allocations: 8 kB / 259.2 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000695/0.01711, allocations: 319.7 kB / 259.5 MB, free: 14.55 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.01991, allocations: 1.62 MB / 261.1 MB, free: 12.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008156/0.02072, allocations: 344.3 kB / 261.5 MB, free: 12.5 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006961/0.02142, allocations: 253.4 kB / 261.7 MB, free: 12.25 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.02145, allocations: 8.328 kB / 261.7 MB, free: 12.24 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005806/0.02204, allocations: 298.8 kB / 262 MB, free: 11.92 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.783e-06/0.02204, allocations: 0 / 262 MB, free: 11.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.002821/0.02486, allocations: 0.7905 MB / 262.8 MB, free: 11.12 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.891e-05/0.02495, allocations: 85.05 kB / 262.9 MB, free: 11.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003877/0.02534, allocations: 292.5 kB / 263.2 MB, free: 10.73 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.018e-05/0.02539, allocations: 45.69 kB / 263.2 MB, free: 10.68 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.02559, allocations: 216.6 kB / 263.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.02574, allocations: 142.8 kB / 263.6 MB, free: 10.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.02591, allocations: 82.19 kB / 263.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.02612, allocations: 346.8 kB / 264 MB, free: 9.887 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.02638, allocations: 117 kB / 264.1 MB, free: 9.773 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.0268, allocations: 282 kB / 264.4 MB, free: 9.434 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006778/0.02748, allocations: 385.7 kB / 264.8 MB, free: 9.004 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.02748, allocations: 4 kB / 264.8 MB, free: 9 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001075/0.02856, allocations: 0.525 MB / 265.3 MB, free: 8.465 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.02858, allocations: 12.03 kB / 265.3 MB, free: 8.453 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.02859, allocations: 4 kB / 265.3 MB, free: 8.449 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005624/0.02915, allocations: 148.2 kB / 265.5 MB, free: 8.305 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.02944, allocations: 63.91 kB / 265.5 MB, free: 8.242 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/0.033, allocations: 2.395 MB / 267.9 MB, free: 5.742 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/0.0333, allocations: 39.73 kB / 267.9 MB, free: 5.703 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.03334, allocations: 27.94 kB / 268 MB, free: 5.676 MB / 250.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0002874/0.03363, allocations: 173.7 kB / 268.1 MB, free: 5.496 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.03374, allocations: 51.77 kB / 268.2 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.03385, allocations: 43.48 kB / 268.2 MB, free: 5.406 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.03386, allocations: 8 kB / 268.2 MB, free: 5.398 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.03386, allocations: 0 / 268.2 MB, free: 5.398 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.03386, allocations: 0 / 268.2 MB, free: 5.398 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.03553, allocations: 0.8715 MB / 269.1 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.03554, allocations: 0 / 269.1 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.03574, allocations: 39.92 kB / 269.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004635/0.03621, allocations: 148.9 kB / 269.3 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.03624, allocations: 11.98 kB / 269.3 MB, free: 4.285 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003479/0.03971, allocations: 2.399 MB / 271.7 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.03972, allocations: 4 kB / 271.7 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.04108, allocations: 0.715 MB / 272.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.04127, allocations: 79.62 kB / 272.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-05/0.04132, allocations: 12 kB / 272.5 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.04156, allocations: 11.98 kB / 272.5 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.04169, allocations: 35.94 kB / 272.6 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.04172, allocations: 15.98 kB / 272.6 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000258/0.04198, allocations: 207.1 kB / 272.8 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.04198, allocations: 0 / 272.8 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006898/0.04267, allocations: 151.7 kB / 272.9 MB, free: 0.543 MB / 250.7 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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.0002089/0.04288, allocations: 115.3 kB / 273 MB, free: 428 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.04401, allocations: 0.5244 MB / 273.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.04402, allocations: 0 / 273.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006364/0.04465, allocations: 369.8 kB / 273.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004988/0.04515, allocations: 89.33 kB / 274 MB, free: 15.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.04695, allocations: 0.8359 MB / 274.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.04723, allocations: 224.8 kB / 275.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.04736, allocations: 35.27 kB / 275.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.544e-05/0.04744, allocations: 28.5 kB / 275.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.04744, allocations: 0 / 275.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of Templates: time 0.01374/0.06118, allocations: 6.389 MB / 281.5 MB, free: 7.906 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.513028145069256]