Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.002049/0.002049, allocations: 119.6 kB / 20.44 MB, free: 1.297 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.002351/0.002351, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.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_4.1.0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 47.94 kB / 378.3 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.262, allocations: 53.36 MB / 431.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00741/0.2694, allocations: 4.823 MB / 436.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003434/0.2728, allocations: 1.371 MB / 437.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005437/0.2733, allocations: 35.75 kB / 437.9 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007239/0.2741, allocations: 226.4 kB / 438.1 MB, free: 468 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.2751, allocations: 385.8 kB / 438.5 MB, free: 80 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000521/0.2756, allocations: 227.6 kB / 438.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001836/0.2774, allocations: 1.545 MB / 440.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008372/0.2783, allocations: 0.567 MB / 440.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009241/0.2792, allocations: 0.6581 MB / 441.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.2803, allocations: 0.7861 MB / 442.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002088/0.2806, allocations: 164 kB / 442.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.2808, allocations: 171.9 kB / 442.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004326/0.2813, allocations: 438.8 kB / 443 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008256/0.2821, allocations: 0.7427 MB / 443.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.2844, allocations: 2.107 MB / 445.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2844, allocations: 0 / 445.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2844, allocations: 0 / 445.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.328e-05/0.2844, allocations: 0 / 445.9 MB, free: 8.645 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.003618/0.288, allocations: 1.9 MB / 447.8 MB, free: 6.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2881, allocations: 8.031 kB / 447.8 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005117/0.2886, allocations: 172 kB / 447.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.2903, allocations: 0.9202 MB / 448.9 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/0.2904, allocations: 74.31 kB / 448.9 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.2906, allocations: 104.1 kB / 449 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.293, allocations: 1.443 MB / 450.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.293, allocations: 0 / 450.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.2931, allocations: 39.98 kB / 450.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.967e-05/0.2932, allocations: 46 kB / 450.6 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.2955, allocations: 1.288 MB / 451.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006892/0.3023, allocations: 4.259 MB / 456.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.304, allocations: 1.005 MB / 457.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.3053, allocations: 0.6814 MB / 457.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.705e-05/0.3053, allocations: 8.656 kB / 457.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009727/0.3063, allocations: 0.5976 MB / 458.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.725e-06/0.3063, allocations: 0 / 458.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007359/0.3137, allocations: 2.751 MB / 461.1 MB, free: 9.125 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.035e-05/0.3138, allocations: 119.5 kB / 461.3 MB, free: 8.984 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.3149, allocations: 0.8403 MB / 462.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-05/0.315, allocations: 45.69 kB / 462.1 MB, free: 8.082 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004448/0.3154, allocations: 0.4929 MB / 462.6 MB, free: 7.582 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/0.3156, allocations: 253.9 kB / 462.9 MB, free: 7.332 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.3158, allocations: 138.6 kB / 463 MB, free: 7.191 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.316, allocations: 334 kB / 463.3 MB, free: 6.859 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006441/0.3166, allocations: 405.7 kB / 463.7 MB, free: 6.465 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007522/0.3174, allocations: 0.5404 MB / 464.3 MB, free: 5.871 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.3187, allocations: 0.921 MB / 465.2 MB, free: 4.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3187, allocations: 0 / 465.2 MB, free: 4.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002065/0.3208, allocations: 1.29 MB / 466.5 MB, free: 3.594 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3208, allocations: 8 kB / 466.5 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.3208, allocations: 4 kB / 466.5 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.3219, allocations: 472.8 kB / 467 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.3222, allocations: 91.83 kB / 467.1 MB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007636/0.3299, allocations: 5.484 MB / 472.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007099/0.3306, allocations: 83.58 kB / 472.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.3306, allocations: 28 kB / 472.6 MB, free: 13.32 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_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 (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.0009003/0.3315, allocations: 463.3 kB / 473.1 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.3317, allocations: 95.39 kB / 473.2 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.3319, allocations: 112.7 kB / 473.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.3319, allocations: 8 kB / 473.3 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3319, allocations: 0 / 473.3 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.332, allocations: 7.922 kB / 473.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004139/0.3361, allocations: 2.57 MB / 475.9 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3361, allocations: 8.125 kB / 475.9 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.3364, allocations: 59.91 kB / 476 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009588/0.3373, allocations: 460.9 kB / 476.4 MB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.3374, allocations: 16 kB / 476.4 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007232/0.3446, allocations: 5.429 MB / 481.9 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3446, allocations: 3.938 kB / 481.9 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/0.3475, allocations: 1.902 MB / 483.8 MB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005051/0.3481, allocations: 207.3 kB / 484 MB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.3482, allocations: 16 kB / 484 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003994/0.3486, allocations: 35.95 kB / 484 MB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.3488, allocations: 80.5 kB / 484.1 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.452e-05/0.3488, allocations: 16 kB / 484.1 MB, free: 1.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000828/0.3496, allocations: 0.6044 MB / 484.7 MB, free: 1.043 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3496, allocations: 0 / 484.7 MB, free: 1.043 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009704/0.3506, allocations: 351.2 kB / 485.1 MB, free: 0.6992 MB / 382.1 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 (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.0001909/0.3508, allocations: 131.3 kB / 485.2 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002198/0.353, allocations: 1.251 MB / 486.4 MB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.353, allocations: 3.938 kB / 486.4 MB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.3542, allocations: 0.7897 MB / 487.2 MB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.3553, allocations: 282.7 kB / 487.5 MB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/0.3593, allocations: 2.38 MB / 489.9 MB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.3603, allocations: 1.33 MB / 491.2 MB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003656/0.3607, allocations: 151.4 kB / 491.4 MB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.3609, allocations: 51.44 kB / 491.4 MB, free: 10.25 MB / 398.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3609, allocations: 0 / 491.4 MB, free: 10.25 MB / 398.1 MB Notification: Performance of Templates: time 0.03506/0.3959, allocations: 20.62 MB / 0.5 GB, free: 5.891 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.407684957142919]