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.0008337/0.0008337, allocations: 87.62 kB / 22.19 MB, free: 2.367 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.0008808/0.0008808, allocations: 160.6 kB / 25.44 MB, free: 9.359 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 0.829/0.829, allocations: 158.6 MB / 187.2 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] 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 1.833e-06/1.833e-06, allocations: 0 / 299.7 MB, free: 6.887 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.459e-05, allocations: 2.281 kB / 299.7 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003263/0.003287, allocations: 3.359 MB / 303.1 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.004332, allocations: 0.928 MB / 304 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.004482, allocations: 7.938 kB / 304 MB, free: 2.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.004663, allocations: 83.16 kB / 304.1 MB, free: 2.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.004902, allocations: 150.6 kB / 304.2 MB, free: 2.328 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.005141, allocations: 163.7 kB / 304.4 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003966/0.005538, allocations: 0.6263 MB / 305 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.005757, allocations: 139.9 kB / 305.2 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.005997, allocations: 351.2 kB / 305.5 MB, free: 1.055 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.006192, allocations: 179.4 kB / 305.7 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.675e-05/0.006249, allocations: 52 kB / 305.7 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.468e-05/0.006293, allocations: 56 kB / 305.8 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.936e-05/0.006373, allocations: 123.5 kB / 305.9 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.006491, allocations: 183.6 kB / 306.1 MB, free: 484 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004274/0.006918, allocations: 0.6425 MB / 306.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.00692, allocations: 0 / 306.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006921, allocations: 0 / 306.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.006928, allocations: 4 kB / 306.7 MB, free: 15.82 MB / 298.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.0008967/0.007824, allocations: 0.8203 MB / 307.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.007859, allocations: 15.98 kB / 307.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.909e-05/0.007928, allocations: 60.61 kB / 307.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.008254, allocations: 302.4 kB / 307.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.008276, allocations: 33.38 kB / 308 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.008322, allocations: 44.38 kB / 308 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/0.008825, allocations: 475.8 kB / 308.5 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.008841, allocations: 4.125 kB / 308.5 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.008872, allocations: 19.94 kB / 308.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.008883, allocations: 16 kB / 308.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.009281, allocations: 315.7 kB / 308.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.01077, allocations: 1.6 MB / 310.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.01126, allocations: 347.8 kB / 310.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/0.01164, allocations: 249.4 kB / 311 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.01167, allocations: 4.328 kB / 311 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003473/0.01202, allocations: 306.8 kB / 311.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.054e-06/0.01202, allocations: 0 / 311.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001322/0.01334, allocations: 0.771 MB / 312.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.01339, allocations: 85.11 kB / 312.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.0136, allocations: 296.5 kB / 312.4 MB, free: 9.863 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.01362, allocations: 41.69 kB / 312.5 MB, free: 9.816 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.01373, allocations: 212.7 kB / 312.7 MB, free: 9.605 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.232e-05/0.0138, allocations: 138.8 kB / 312.8 MB, free: 9.469 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/0.01389, allocations: 86.12 kB / 312.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.569e-05/0.01398, allocations: 346.8 kB / 313.3 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.01413, allocations: 121 kB / 313.4 MB, free: 8.914 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.01433, allocations: 278.1 kB / 313.6 MB, free: 8.582 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.01468, allocations: 378.1 kB / 314 MB, free: 8.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01468, allocations: 0 / 314 MB, free: 8.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005309/0.01521, allocations: 0.5052 MB / 314.5 MB, free: 7.645 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.01523, allocations: 8 kB / 314.5 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.01524, allocations: 4 kB / 314.5 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002952/0.01553, allocations: 148.7 kB / 314.7 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.01566, allocations: 72.03 kB / 314.7 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.01745, allocations: 2.379 MB / 317.1 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.01757, allocations: 43.77 kB / 317.2 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.01759, allocations: 19.94 kB / 317.2 MB, free: 4.879 MB / 298.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.0001367/0.01773, allocations: 177.7 kB / 317.4 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.01776, allocations: 39.75 kB / 317.4 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.25e-05/0.01781, allocations: 43.48 kB / 317.4 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01781, allocations: 4 kB / 317.4 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.01782, allocations: 4 kB / 317.4 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01782, allocations: 3.938 kB / 317.5 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008263/0.01865, allocations: 0.8754 MB / 318.3 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01865, allocations: 3.938 kB / 318.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.155e-05/0.01874, allocations: 39.86 kB / 318.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002288/0.01897, allocations: 147.5 kB / 318.5 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.01899, allocations: 12 kB / 318.5 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.02059, allocations: 2.379 MB / 320.9 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.0206, allocations: 4 kB / 320.9 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/0.02125, allocations: 0.6955 MB / 321.6 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.989e-05/0.02134, allocations: 71.7 kB / 321.7 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.02137, allocations: 8 kB / 321.7 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.02147, allocations: 19.98 kB / 321.7 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/0.02154, allocations: 43.92 kB / 321.7 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.02156, allocations: 12 kB / 321.8 MB, free: 128 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001339/0.02169, allocations: 203.1 kB / 322 MB, free: 15.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02169, allocations: 0 / 322 MB, free: 15.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003357/0.02202, allocations: 147.8 kB / 322.1 MB, free: 15.78 MB / 314.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.0001015/0.02213, allocations: 111.2 kB / 322.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005891/0.02272, allocations: 0.5331 MB / 322.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02272, allocations: 0 / 322.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.02302, allocations: 367 kB / 323.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.02329, allocations: 80.42 kB / 323.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000979/0.02427, allocations: 0.8568 MB / 324 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.02441, allocations: 224.8 kB / 324.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.02446, allocations: 28.5 kB / 324.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02447, allocations: 4 kB / 324.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of Templates: time 0.005796/0.03026, allocations: 6.999 MB / 331.3 MB, free: 6.484 MB / 314.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.731760106980801]