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.001333/0.001333, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001526/0.001526, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.432/1.432, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001666/0.001666, allocations: 47.92 kB / 378.2 MB, free: 2.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2756, allocations: 53.36 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006358/0.282, allocations: 4.34 MB / 435.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002744/0.2847, allocations: 1.324 MB / 437.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000373/0.2851, allocations: 39.69 kB / 437.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006862/0.2858, allocations: 226.4 kB / 437.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008783/0.2866, allocations: 373.9 kB / 437.9 MB, free: 388 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.2871, allocations: 223.6 kB / 438.1 MB, free: 164 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001707/0.2888, allocations: 1.541 MB / 439.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008353/0.2896, allocations: 0.5475 MB / 440.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008172/0.2905, allocations: 0.6736 MB / 440.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.2915, allocations: 0.7782 MB / 441.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002303/0.2918, allocations: 164 kB / 441.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003103/0.2921, allocations: 168 kB / 442 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004203/0.2925, allocations: 442.8 kB / 442.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006476/0.2931, allocations: 0.5912 MB / 443 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.2952, allocations: 2.123 MB / 445.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2952, allocations: 0 / 445.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2952, allocations: 0 / 445.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.136e-05/0.2952, allocations: 4 kB / 445.1 MB, free: 9.098 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.003301/0.2985, allocations: 1.902 MB / 447 MB, free: 7.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2986, allocations: 8.031 kB / 447 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004941/0.2991, allocations: 180 kB / 447.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.3007, allocations: 0.9047 MB / 448.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.181e-05/0.3008, allocations: 74.38 kB / 448.2 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.301, allocations: 100.1 kB / 448.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/0.3035, allocations: 1.493 MB / 449.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.3035, allocations: 8 kB / 449.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.3036, allocations: 40 kB / 449.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.153e-05/0.3037, allocations: 45.98 kB / 449.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.3059, allocations: 1.292 MB / 451.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006063/0.312, allocations: 3.776 MB / 454.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.3137, allocations: 0.9994 MB / 455.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.3149, allocations: 0.6619 MB / 456.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/0.315, allocations: 12.66 kB / 456.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009953/0.316, allocations: 0.6439 MB / 457.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.455e-06/0.316, allocations: 0 / 457.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007421/0.3234, allocations: 2.755 MB / 460 MB, free: 9.969 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.561e-05/0.3235, allocations: 115.5 kB / 460.1 MB, free: 9.832 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.3246, allocations: 0.8128 MB / 460.9 MB, free: 9.008 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.466e-05/0.3247, allocations: 41.7 kB / 461 MB, free: 8.961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004668/0.3251, allocations: 0.4968 MB / 461.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.3254, allocations: 253.8 kB / 461.7 MB, free: 8.207 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.3256, allocations: 138.6 kB / 461.8 MB, free: 8.066 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002288/0.3258, allocations: 394.7 kB / 462.2 MB, free: 7.672 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000656/0.3265, allocations: 393.7 kB / 462.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008649/0.3273, allocations: 0.5957 MB / 463.2 MB, free: 6.621 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.3288, allocations: 0.9171 MB / 464.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3288, allocations: 0 / 464.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002307/0.3311, allocations: 1.294 MB / 465.4 MB, free: 4.344 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.3311, allocations: 4 kB / 465.4 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3312, allocations: 4 kB / 465.4 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/0.3329, allocations: 472.8 kB / 465.9 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/0.3334, allocations: 91.83 kB / 466 MB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/0.3453, allocations: 5.379 MB / 471.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008912/0.3462, allocations: 83.64 kB / 471.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.564e-05/0.3463, allocations: 27.98 kB / 471.5 MB, free: 14.19 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.001097/0.3474, allocations: 463.2 kB / 471.9 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.3476, allocations: 91.38 kB / 472 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003079/0.348, allocations: 112.4 kB / 472.1 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.348, allocations: 11.94 kB / 472.1 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.348, allocations: 128 / 472.1 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.348, allocations: 7.984 kB / 472.1 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006223/0.3542, allocations: 2.29 MB / 474.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.3542, allocations: 4 kB / 474.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004762/0.3547, allocations: 63.91 kB / 474.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.3563, allocations: 464.8 kB / 475 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.372e-05/0.3564, allocations: 16 kB / 475 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01162/0.368, allocations: 5.321 MB / 480.3 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.368, allocations: 0 / 480.3 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00479/0.3728, allocations: 1.898 MB / 482.2 MB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000764/0.3736, allocations: 195.3 kB / 482.4 MB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.3738, allocations: 19.98 kB / 482.4 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/0.3744, allocations: 47.89 kB / 482.4 MB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000287/0.3747, allocations: 72.52 kB / 482.5 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.938e-05/0.3748, allocations: 28.11 kB / 482.5 MB, free: 2.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001207/0.376, allocations: 0.5771 MB / 483.1 MB, free: 2.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.376, allocations: 0 / 483.1 MB, free: 2.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001622/0.3776, allocations: 347.2 kB / 483.5 MB, free: 2.012 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.0002655/0.3779, allocations: 139.2 kB / 483.6 MB, free: 1.867 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00353/0.3814, allocations: 1.259 MB / 484.9 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3814, allocations: 0 / 484.9 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002009/0.3834, allocations: 0.7938 MB / 485.6 MB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.3851, allocations: 256.7 kB / 485.9 MB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006622/0.3917, allocations: 2.369 MB / 488.3 MB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/0.3931, allocations: 0.738 MB / 489 MB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006103/0.3937, allocations: 147.1 kB / 489.1 MB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.394, allocations: 51.44 kB / 489.2 MB, free: 12.17 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.394, allocations: 3.938 kB / 489.2 MB, free: 12.17 MB / 398.1 MB Notification: Performance of Templates: time 0.03601/0.43, allocations: 19.86 MB / 0.4971 GB, free: 8.637 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.180237650871277]