Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001715/0.001715, allocations: 116.2 kB / 18.5 MB, free: 4.543 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.002307/0.002307, allocations: 201 kB / 21.45 MB, free: 1.59 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.531/1.531, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 59.89 kB / 373.9 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.116, allocations: 53.32 MB / 427.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005875/0.1219, allocations: 3.716 MB / 430.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2401/0.362, allocations: 1.086 MB / 432 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004155/0.3624, allocations: 15.5 kB / 432 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.3628, allocations: 112.7 kB / 432.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000752/0.3635, allocations: 239 kB / 432.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.3638, allocations: 154.1 kB / 432.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009135/0.3648, allocations: 0.9742 MB / 433.5 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000484/0.3652, allocations: 456.5 kB / 433.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005103/0.3657, allocations: 428.4 kB / 434.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005667/0.3663, allocations: 0.4962 MB / 434.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.3665, allocations: 101 kB / 434.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.3667, allocations: 104.7 kB / 435 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.3669, allocations: 284.8 kB / 435.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004436/0.3674, allocations: 482.6 kB / 435.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.3688, allocations: 1.306 MB / 437.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3688, allocations: 3.938 kB / 437.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.3688, allocations: 0 / 437.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.3688, allocations: 4.969 kB / 437.1 MB, free: 7.219 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.002186/0.371, allocations: 1.209 MB / 438.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.371, allocations: 10.62 kB / 438.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004291/0.3715, allocations: 125.6 kB / 438.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009178/0.3724, allocations: 0.6608 MB / 439.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.533e-05/0.3724, allocations: 47.89 kB / 439.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.3725, allocations: 67.22 kB / 439.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.3742, allocations: 0.9241 MB / 440.1 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.3742, allocations: 2.109 kB / 440.1 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.84e-05/0.3743, allocations: 27.16 kB / 440.2 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.523e-05/0.3743, allocations: 29.48 kB / 440.2 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.3757, allocations: 0.7918 MB / 441 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004403/0.3801, allocations: 2.796 MB / 443.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009071/0.381, allocations: 0.7108 MB / 444.5 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006112/0.3816, allocations: 313.7 kB / 444.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.3817, allocations: 4.672 kB / 444.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006668/0.3823, allocations: 385.8 kB / 445.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.843e-06/0.3823, allocations: 0 / 445.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003036/0.3854, allocations: 1.222 MB / 446.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.3854, allocations: 116.7 kB / 446.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008897/0.3863, allocations: 0.5921 MB / 447.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.3864, allocations: 36.55 kB / 447.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.3866, allocations: 370.4 kB / 447.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.3868, allocations: 144.7 kB / 447.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.3869, allocations: 90.8 kB / 447.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.387, allocations: 367.7 kB / 448.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003966/0.3874, allocations: 217.2 kB / 448.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004468/0.3879, allocations: 359.5 kB / 448.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007773/0.3886, allocations: 0.5703 MB / 449.2 MB, free: 488 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3886, allocations: 1.094 kB / 449.2 MB, free: 488 kB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001341/0.39, allocations: 0.7518 MB / 450 MB, free: 168 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.39, allocations: 11.53 kB / 450 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.39, allocations: 4.562 kB / 450 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000571/0.3906, allocations: 204.4 kB / 450.2 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.3909, allocations: 74.3 kB / 450.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/0.3947, allocations: 3.045 MB / 453.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.3952, allocations: 49.59 kB / 453.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.3952, allocations: 19.83 kB / 453.4 MB, free: 13.85 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[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006196/0.3958, allocations: 338 kB / 453.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.3959, allocations: 65.47 kB / 453.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.3961, allocations: 71.16 kB / 453.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3961, allocations: 5.047 kB / 453.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3961, allocations: 1.188 kB / 453.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.3961, allocations: 3.078 kB / 453.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/0.399, allocations: 1.734 MB / 455.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.399, allocations: 0 / 455.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.3992, allocations: 51.03 kB / 455.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004518/0.3997, allocations: 185 kB / 455.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.3997, allocations: 19.42 kB / 455.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003334/0.403, allocations: 2.916 MB / 458.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.403, allocations: 1.156 kB / 458.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.405, allocations: 1.138 MB / 459.9 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.4053, allocations: 205.6 kB / 460.1 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.757e-05/0.4054, allocations: 6.844 kB / 460.1 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.4057, allocations: 31.66 kB / 460.1 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.4058, allocations: 43.91 kB / 460.2 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.4059, allocations: 12.75 kB / 460.2 MB, free: 9.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006289/0.4065, allocations: 431.4 kB / 460.6 MB, free: 8.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4065, allocations: 0 / 460.6 MB, free: 8.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008658/0.4074, allocations: 208.7 kB / 460.8 MB, free: 8.859 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (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.0001994/0.4076, allocations: 120.9 kB / 460.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.4091, allocations: 0.7223 MB / 461.6 MB, free: 8.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4091, allocations: 0 / 461.6 MB, free: 8.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007569/0.4099, allocations: 453.5 kB / 462.1 MB, free: 8.031 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007711/0.4106, allocations: 158.7 kB / 462.2 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.4138, allocations: 1.587 MB / 463.8 MB, free: 7.027 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007349/0.4146, allocations: 1.074 MB / 464.9 MB, free: 6.137 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002816/0.4148, allocations: 97.91 kB / 465 MB, free: 6.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.4149, allocations: 48.14 kB / 465 MB, free: 6.086 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4149, allocations: 0 / 465 MB, free: 6.086 MB / 366.1 MB Notification: Performance of Templates: time 0.01992/0.4349, allocations: 10.34 MB / 475.4 MB, free: 14.89 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 4.887172789312899]