Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.001142/0.001142, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001185/0.001185, allocations: 173.1 kB / 25.61 MB, free: 8.551 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 1.024/1.024, allocations: 177.1 MB / 206 MB, free: 4.535 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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099e-05/1.229e-05, allocations: 9.094 kB / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.003732/0.003744, allocations: 4.459 MB / 278.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.005231, allocations: 1.291 MB / 280 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.00544, allocations: 35.75 kB / 280 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.005693, allocations: 170.6 kB / 280.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006294/0.006323, allocations: 385.5 kB / 280.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.006581, allocations: 219.5 kB / 280.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001003/0.007583, allocations: 1.677 MB / 282.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005279/0.008111, allocations: 0.5715 MB / 283 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007505/0.008862, allocations: 1.029 MB / 284 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007208/0.009582, allocations: 0.8496 MB / 284.9 MB, free: 9.656 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.009744, allocations: 176 kB / 285.1 MB, free: 9.484 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.009942, allocations: 176 kB / 285.2 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000307/0.01025, allocations: 0.4985 MB / 285.7 MB, free: 8.812 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004325/0.01068, allocations: 0.5651 MB / 286.3 MB, free: 8.246 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009536/0.01163, allocations: 1.332 MB / 287.6 MB, free: 6.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.01164, allocations: 0 / 287.6 MB, free: 6.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01164, allocations: 0 / 287.6 MB, free: 6.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.01165, allocations: 4 kB / 287.6 MB, free: 6.906 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002106/0.01376, allocations: 2.294 MB / 289.9 MB, free: 4.555 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.01379, allocations: 12.03 kB / 289.9 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004345/0.01422, allocations: 287.9 kB / 290.2 MB, free: 4.262 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007561/0.01498, allocations: 0.8264 MB / 291 MB, free: 3.402 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.01502, allocations: 78.44 kB / 291.1 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.01513, allocations: 108.4 kB / 291.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008807/0.01601, allocations: 0.8402 MB / 292.1 MB, free: 2.305 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.01603, allocations: 11.88 kB / 292.1 MB, free: 2.293 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.655e-05/0.0161, allocations: 47.98 kB / 292.1 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/0.01614, allocations: 42.03 kB / 292.2 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.0166, allocations: 298 kB / 292.5 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003184/0.01979, allocations: 3.872 MB / 296.3 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.02028, allocations: 469.9 kB / 296.8 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/0.02069, allocations: 324.9 kB / 297.1 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.02073, allocations: 16.66 kB / 297.1 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003569/0.02108, allocations: 344.2 kB / 297.5 MB, free: 12.69 MB / 282.7 MB Notification: Performance of pre-optimization done (n=72): time 1.833e-06/0.02109, allocations: 4 kB / 297.5 MB, free: 12.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.002097/0.02318, allocations: 1.082 MB / 298.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.02323, allocations: 93.7 kB / 298.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005824/0.02381, allocations: 0.7647 MB / 299.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/0.02385, allocations: 37.7 kB / 299.4 MB, free: 10.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.02418, allocations: 0.632 MB / 300.1 MB, free: 10.01 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.02432, allocations: 249.9 kB / 300.3 MB, free: 9.766 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.02446, allocations: 144.3 kB / 300.5 MB, free: 9.617 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.02459, allocations: 0.5121 MB / 301 MB, free: 9.098 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.02472, allocations: 77.92 kB / 301 MB, free: 9.023 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.02494, allocations: 310.6 kB / 301.3 MB, free: 8.641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.02531, allocations: 403.5 kB / 301.7 MB, free: 8.176 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.02531, allocations: 0 / 301.7 MB, free: 8.176 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006541/0.02597, allocations: 0.567 MB / 302.3 MB, free: 7.598 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.02598, allocations: 4 kB / 302.3 MB, free: 7.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.02599, allocations: 4 kB / 302.3 MB, free: 7.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003449/0.02633, allocations: 182.5 kB / 302.5 MB, free: 7.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.02658, allocations: 111.8 kB / 302.6 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.02876, allocations: 3.088 MB / 305.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.02897, allocations: 67.55 kB / 305.8 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.029, allocations: 20 kB / 305.8 MB, free: 4.02 MB / 282.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: 15 (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_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0001949/0.0292, allocations: 198.5 kB / 306 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.0293, allocations: 119.4 kB / 306.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.02941, allocations: 112.5 kB / 306.2 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.02942, allocations: 4 kB / 306.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.02942, allocations: 15.91 kB / 306.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.02943, allocations: 0 / 306.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.03083, allocations: 1.313 MB / 307.5 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.03083, allocations: 3.938 kB / 307.5 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.03103, allocations: 87.88 kB / 307.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003064/0.03134, allocations: 167.5 kB / 307.8 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.03137, allocations: 15.98 kB / 307.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.03342, allocations: 3.041 MB / 310.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.03342, allocations: 3.984 kB / 310.8 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007758/0.0342, allocations: 0.7684 MB / 311.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.0344, allocations: 179.2 kB / 311.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.691e-05/0.03447, allocations: 16 kB / 311.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.03466, allocations: 27.98 kB / 311.8 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.03477, allocations: 68.53 kB / 311.9 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.03479, allocations: 15.98 kB / 311.9 MB, free: 13.69 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003004/0.0351, allocations: 462.7 kB / 312.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0351, allocations: 4 kB / 312.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005155/0.03561, allocations: 359.1 kB / 312.7 MB, free: 12.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001162/0.03573, allocations: 129.3 kB / 312.8 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007069/0.03643, allocations: 0.7017 MB / 313.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.03644, allocations: 0 / 313.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004811/0.03692, allocations: 0.5602 MB / 314.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005718/0.03749, allocations: 243.2 kB / 314.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.04007, allocations: 2.269 MB / 316.6 MB, free: 8.898 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.04034, allocations: 391.8 kB / 317 MB, free: 8.496 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.04054, allocations: 99.25 kB / 317.1 MB, free: 8.395 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003756/0.04092, allocations: 294 kB / 317.4 MB, free: 8.105 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.04092, allocations: 0 / 317.4 MB, free: 8.105 MB / 298.7 MB Notification: Performance of Templates: time 0.02163/0.06255, allocations: 18.89 MB / 336.3 MB, free: 5.496 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.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: 3.1481397338211536]