Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 106.1 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001534/0.001534, allocations: 217.9 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 230.2 MB / 256.2 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002523/0.002523, allocations: 67.89 kB / 376.5 MB, free: 3.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2579, allocations: 53.31 MB / 429.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006414/0.2643, allocations: 4.815 MB / 434.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002589/0.2669, allocations: 1.379 MB / 436 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003125/0.2672, allocations: 27.88 kB / 436 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006265/0.2679, allocations: 226.4 kB / 436.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007337/0.2686, allocations: 366 kB / 436.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.269, allocations: 231.6 kB / 436.8 MB, free: 500 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001601/0.2706, allocations: 1.561 MB / 438.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007827/0.2714, allocations: 0.5626 MB / 439 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007134/0.2721, allocations: 0.6581 MB / 439.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009779/0.2731, allocations: 0.7822 MB / 440.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.2733, allocations: 164 kB / 440.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002732/0.2736, allocations: 172 kB / 440.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004113/0.274, allocations: 442.7 kB / 441.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007255/0.2747, allocations: 0.735 MB / 441.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.2768, allocations: 2.107 MB / 444 MB, free: 9.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2768, allocations: 4 kB / 444 MB, free: 9.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2768, allocations: 0 / 444 MB, free: 9.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.2768, allocations: 0 / 444 MB, free: 9.266 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00297/0.2798, allocations: 1.696 MB / 445.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2798, allocations: 8.031 kB / 445.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004883/0.2803, allocations: 172 kB / 445.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.2818, allocations: 0.9702 MB / 446.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.2818, allocations: 78.38 kB / 446.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.282, allocations: 104.1 kB / 447 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/0.2844, allocations: 1.439 MB / 448.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.2844, allocations: 0 / 448.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.2845, allocations: 48 kB / 448.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.095e-05/0.2846, allocations: 41.98 kB / 448.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002177/0.2867, allocations: 1.296 MB / 449.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006261/0.293, allocations: 4.309 MB / 454.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.2951, allocations: 1.888 MB / 456 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.2964, allocations: 0.6844 MB / 456.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.751e-05/0.2964, allocations: 12.59 kB / 456.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009572/0.2974, allocations: 0.5976 MB / 457.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.395e-06/0.2974, allocations: 0 / 457.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007402/0.3048, allocations: 2.805 MB / 460.1 MB, free: 8.633 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.3049, allocations: 115.4 kB / 460.3 MB, free: 8.492 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.3061, allocations: 0.8481 MB / 461.1 MB, free: 7.633 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.299e-05/0.3062, allocations: 41.7 kB / 461.1 MB, free: 7.586 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004638/0.3067, allocations: 0.493 MB / 461.6 MB, free: 7.086 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.3069, allocations: 253.9 kB / 461.9 MB, free: 6.836 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.3071, allocations: 142.6 kB / 462 MB, free: 6.691 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3073, allocations: 338 kB / 462.4 MB, free: 6.355 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006415/0.3079, allocations: 393.7 kB / 462.7 MB, free: 5.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007758/0.3087, allocations: 0.5455 MB / 463.3 MB, free: 5.367 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.3101, allocations: 0.9153 MB / 464.2 MB, free: 4.402 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.3101, allocations: 4 kB / 464.2 MB, free: 4.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002142/0.3122, allocations: 1.288 MB / 465.5 MB, free: 3.098 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3123, allocations: 8 kB / 465.5 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.3123, allocations: 7.984 kB / 465.5 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.3134, allocations: 465.3 kB / 466 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.3137, allocations: 99.83 kB / 466.1 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007501/0.3212, allocations: 5.587 MB / 471.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006732/0.3219, allocations: 83.64 kB / 471.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/0.3219, allocations: 31.92 kB / 471.8 MB, free: 12.68 MB / 382.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: 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_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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0007413/0.3227, allocations: 463.2 kB / 472.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.3228, allocations: 95.44 kB / 472.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.323, allocations: 112.7 kB / 472.4 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.323, allocations: 8 kB / 472.4 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.323, allocations: 0 / 472.4 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.3231, allocations: 3.984 kB / 472.4 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004328/0.3274, allocations: 2.587 MB / 475 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.3274, allocations: 0 / 475 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.3277, allocations: 63.89 kB / 475.1 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/0.3287, allocations: 460.6 kB / 475.5 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.315e-05/0.3288, allocations: 12 kB / 475.5 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007553/0.3363, allocations: 5.497 MB / 481 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3363, allocations: 4 kB / 481 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/0.3396, allocations: 1.902 MB / 482.9 MB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004889/0.34, allocations: 280.3 kB / 483.2 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.3402, allocations: 16 kB / 483.2 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.3406, allocations: 39.95 kB / 483.3 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/0.3408, allocations: 76.55 kB / 483.3 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.203e-05/0.3409, allocations: 23.98 kB / 483.4 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008754/0.3417, allocations: 0.6005 MB / 484 MB, free: 224 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3417, allocations: 0 / 484 MB, free: 224 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001035/0.3428, allocations: 343.3 kB / 484.3 MB, free: 15.88 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,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 (40): * Single equations (assignments): 36 * 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,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002187/0.343, allocations: 131.1 kB / 484.4 MB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00232/0.3453, allocations: 1.263 MB / 485.7 MB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3453, allocations: 0 / 485.7 MB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.3466, allocations: 0.7929 MB / 486.5 MB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.3478, allocations: 277.8 kB / 486.8 MB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/0.3522, allocations: 2.391 MB / 489.1 MB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.3533, allocations: 1.329 MB / 490.5 MB, free: 9.633 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004307/0.3537, allocations: 147.4 kB / 490.6 MB, free: 9.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.3538, allocations: 51.44 kB / 490.7 MB, free: 9.434 MB / 398.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3538, allocations: 4 kB / 490.7 MB, free: 9.43 MB / 398.1 MB Notification: Performance of Templates: time 0.03604/0.3899, allocations: 20.34 MB / 0.499 GB, free: 5.293 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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: 5.285650993697345]