Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001402/0.001402, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001455/0.001455, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 258.3 MB, free: 8.02 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-beta.om/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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 64.78 kB / 379.1 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3375, allocations: 53.37 MB / 432.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.01095/0.3485, allocations: 3.759 MB / 436.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004276/0.3528, allocations: 1.091 MB / 437.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006821/0.3535, allocations: 23.81 kB / 437.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006088/0.3541, allocations: 107.1 kB / 437.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.3557, allocations: 246.6 kB / 437.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007679/0.3565, allocations: 155.7 kB / 437.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002296/0.3588, allocations: 0.9728 MB / 438.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009591/0.3597, allocations: 351.3 kB / 439.1 MB, free: 228 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009979/0.3607, allocations: 434.5 kB / 439.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.3619, allocations: 0.502 MB / 440 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002106/0.3621, allocations: 100 kB / 440.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.3624, allocations: 108 kB / 440.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004119/0.3628, allocations: 275.2 kB / 440.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007949/0.3636, allocations: 493.7 kB / 441 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.3659, allocations: 1.294 MB / 442.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3659, allocations: 3.938 kB / 442.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3659, allocations: 0 / 442.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.168e-05/0.3659, allocations: 0 / 442.3 MB, free: 13.04 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003915/0.3699, allocations: 1.33 MB / 443.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.3699, allocations: 15.97 kB / 443.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007612/0.3707, allocations: 124.3 kB / 443.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/0.3725, allocations: 0.597 MB / 444.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.377e-05/0.3726, allocations: 57.25 kB / 444.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.3727, allocations: 67.94 kB / 444.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.3743, allocations: 0.9189 MB / 445.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.3743, allocations: 3.953 kB / 445.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.105e-05/0.3744, allocations: 28 kB / 445.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.657e-05/0.3744, allocations: 29.3 kB / 445.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.3759, allocations: 0.7936 MB / 446.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004241/0.3801, allocations: 2.737 MB / 449 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008759/0.381, allocations: 498.7 kB / 449.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005907/0.3816, allocations: 317.2 kB / 449.8 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.3816, allocations: 4.328 kB / 449.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000664/0.3823, allocations: 389.8 kB / 450.2 MB, free: 4.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.044e-06/0.3823, allocations: 0 / 450.2 MB, free: 4.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002803/0.3851, allocations: 1.111 MB / 451.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/0.3852, allocations: 118.5 kB / 451.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007579/0.3859, allocations: 0.588 MB / 452 MB, free: 3.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.386, allocations: 37.7 kB / 452 MB, free: 3.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.3863, allocations: 364.6 kB / 452.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.3864, allocations: 154.7 kB / 452.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.3866, allocations: 90.14 kB / 452.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.3867, allocations: 370.7 kB / 453 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/0.3872, allocations: 216.8 kB / 453.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005064/0.3877, allocations: 357.2 kB / 453.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009396/0.3886, allocations: 0.5744 MB / 454.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3886, allocations: 0 / 454.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001321/0.3899, allocations: 0.7473 MB / 454.9 MB, free: 48 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.3899, allocations: 8 kB / 454.9 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.39, allocations: 4 kB / 454.9 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005522/0.3905, allocations: 205.1 kB / 455.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.3908, allocations: 71.89 kB / 455.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003464/0.3943, allocations: 2.843 MB / 458 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/0.3947, allocations: 51.72 kB / 458 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.3947, allocations: 16 kB / 458.1 MB, free: 12.74 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004874/0.3952, allocations: 341.4 kB / 458.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.85e-05/0.3953, allocations: 59.61 kB / 458.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.3954, allocations: 65.44 kB / 458.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3954, allocations: 11.98 kB / 458.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.3955, allocations: 11.94 kB / 458.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.3955, allocations: 0 / 458.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/0.3979, allocations: 1.592 MB / 460.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3979, allocations: 0 / 460.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.3982, allocations: 51.94 kB / 460.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/0.3986, allocations: 188.7 kB / 460.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.3987, allocations: 15.98 kB / 460.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003476/0.4021, allocations: 2.82 MB / 463.2 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4021, allocations: 7.938 kB / 463.2 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.404, allocations: 1.096 MB / 464.3 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.4043, allocations: 119.5 kB / 464.4 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.758e-05/0.4044, allocations: 12 kB / 464.4 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.4047, allocations: 23.97 kB / 464.4 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.4049, allocations: 59.56 kB / 464.5 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.4049, allocations: 12 kB / 464.5 MB, free: 6.059 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005972/0.4055, allocations: 430.8 kB / 464.9 MB, free: 5.641 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4055, allocations: 0 / 464.9 MB, free: 5.641 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008618/0.4064, allocations: 207.5 kB / 465.1 MB, free: 5.438 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001953/0.4065, allocations: 123.4 kB / 465.3 MB, free: 5.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.4079, allocations: 0.7012 MB / 466 MB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4079, allocations: 0 / 466 MB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007662/0.4087, allocations: 463.2 kB / 466.4 MB, free: 4.129 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007136/0.4094, allocations: 146.6 kB / 466.6 MB, free: 3.988 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.4123, allocations: 1.479 MB / 468 MB, free: 2.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008096/0.4131, allocations: 1.082 MB / 469.1 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003045/0.4134, allocations: 104.7 kB / 469.2 MB, free: 1.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.4135, allocations: 43.42 kB / 469.3 MB, free: 1.227 MB / 366.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4135, allocations: 0 / 469.3 MB, free: 1.227 MB / 366.1 MB Notification: Performance of Templates: time 0.02024/0.4338, allocations: 10.61 MB / 479.9 MB, free: 6.777 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.034796807914972]