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.001824/0.001824, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002272/0.002272, allocations: 215.4 kB / 23.74 MB, free: 4.656 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.601/1.601, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.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.001634/0.001634, allocations: 47.92 kB / 378.3 MB, free: 2.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2831, allocations: 53.38 MB / 431.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005489/0.2886, allocations: 3.78 MB / 435.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.2906, allocations: 1.01 MB / 436.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.2908, allocations: 11.94 kB / 436.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.2911, allocations: 71.23 kB / 436.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.2914, allocations: 150.7 kB / 436.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.2919, allocations: 183.6 kB / 436.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007328/0.2926, allocations: 0.6187 MB / 437.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003316/0.2929, allocations: 148.6 kB / 437.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004156/0.2933, allocations: 247.1 kB / 437.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003677/0.2937, allocations: 246.9 kB / 438.1 MB, free: 460 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.346e-05/0.2938, allocations: 56 kB / 438.1 MB, free: 404 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.2939, allocations: 60 kB / 438.2 MB, free: 344 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.294, allocations: 127.5 kB / 438.3 MB, free: 216 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.2944, allocations: 278.7 kB / 438.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007711/0.2951, allocations: 0.6494 MB / 439.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2951, allocations: 0 / 439.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2951, allocations: 0 / 439.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.2951, allocations: 0 / 439.3 MB, free: 15.29 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.001609/0.2967, allocations: 0.8592 MB / 440.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.2968, allocations: 12.03 kB / 440.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002332/0.297, allocations: 64.59 kB / 440.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.2976, allocations: 327.1 kB / 440.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.2976, allocations: 33.38 kB / 440.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.896e-05/0.2977, allocations: 44.38 kB / 440.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008034/0.2985, allocations: 457.5 kB / 441 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.2985, allocations: 4 kB / 441 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/0.2986, allocations: 23.98 kB / 441.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.2986, allocations: 12 kB / 441.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006287/0.2992, allocations: 319.8 kB / 441.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/0.3019, allocations: 1.801 MB / 443.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007235/0.3026, allocations: 359.8 kB / 443.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006062/0.3032, allocations: 249.4 kB / 443.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.3032, allocations: 4.328 kB / 443.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004693/0.3037, allocations: 273.1 kB / 444 MB, free: 10.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.583e-06/0.3037, allocations: 0 / 444 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002356/0.3061, allocations: 0.7682 MB / 444.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.3061, allocations: 81.11 kB / 444.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.3065, allocations: 336.4 kB / 445.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.452e-05/0.3066, allocations: 37.7 kB / 445.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.3068, allocations: 220.7 kB / 445.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.3069, allocations: 142.8 kB / 445.6 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.307, allocations: 86.14 kB / 445.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3072, allocations: 354.7 kB / 446 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.3075, allocations: 120.9 kB / 446.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.3078, allocations: 248.4 kB / 446.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/0.3084, allocations: 383.3 kB / 446.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3084, allocations: 0 / 446.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000924/0.3094, allocations: 0.5017 MB / 447.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.3094, allocations: 15.97 kB / 447.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3094, allocations: 4 kB / 447.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000497/0.3099, allocations: 147.6 kB / 447.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.3101, allocations: 59.91 kB / 447.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003132/0.3133, allocations: 2.447 MB / 450 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.3135, allocations: 51.7 kB / 450 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.3135, allocations: 16 kB / 450 MB, free: 4.023 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_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.0002341/0.3138, allocations: 181.8 kB / 450.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.3138, allocations: 47.7 kB / 450.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.3141, allocations: 44.41 kB / 450.3 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3141, allocations: 4 kB / 450.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3141, allocations: 4 kB / 450.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3141, allocations: 3.984 kB / 450.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.3157, allocations: 0.9922 MB / 451.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3157, allocations: 0 / 451.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.3159, allocations: 39.91 kB / 451.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003716/0.3162, allocations: 136.8 kB / 451.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.3163, allocations: 12 kB / 451.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003092/0.3194, allocations: 2.449 MB / 453.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3194, allocations: 0 / 453.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.3205, allocations: 0.6982 MB / 454.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.3206, allocations: 83.53 kB / 454.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.882e-05/0.3207, allocations: 11.98 kB / 454.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.3209, allocations: 15.94 kB / 454.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.317e-05/0.321, allocations: 39.92 kB / 454.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.321, allocations: 12 kB / 454.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002386/0.3212, allocations: 227.1 kB / 455 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3212, allocations: 0 / 455 MB, free: 14.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005449/0.3218, allocations: 147.8 kB / 455.1 MB, free: 14.68 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.0001606/0.3219, allocations: 121 kB / 455.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009774/0.3229, allocations: 0.5329 MB / 455.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3229, allocations: 0 / 455.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005412/0.3235, allocations: 363.2 kB / 456.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.3239, allocations: 85.27 kB / 456.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.3256, allocations: 0.8889 MB / 457.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.326, allocations: 0.8318 MB / 458 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.3262, allocations: 35.36 kB / 458 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.755e-05/0.3262, allocations: 27.44 kB / 458 MB, free: 11.72 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3262, allocations: 0 / 458 MB, free: 11.72 MB / 366.1 MB Notification: Performance of Templates: time 0.01385/0.3401, allocations: 7.437 MB / 465.5 MB, free: 4.43 MB / 366.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/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.833781935973093]