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.001095/0.001095, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.00345/0.00345, allocations: 159.5 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8635/0.8635, allocations: 177 MB / 204.9 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 2.485e-06/2.485e-06, allocations: 4 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.937e-05, allocations: 3.406 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003661/0.00368, allocations: 3.448 MB / 329.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.005163, allocations: 1.048 MB / 330.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.005361, allocations: 23.81 kB / 330.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.005569, allocations: 111.1 kB / 330.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006114/0.00618, allocations: 250.3 kB / 330.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.006407, allocations: 163.6 kB / 330.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006256/0.007033, allocations: 1.011 MB / 331.8 MB, free: 9.305 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003518/0.007384, allocations: 335.5 kB / 332.2 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004634/0.007848, allocations: 0.6081 MB / 332.8 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000413/0.008261, allocations: 450.9 kB / 333.2 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.424e-05/0.008345, allocations: 100 kB / 333.3 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.008465, allocations: 108 kB / 333.4 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.008631, allocations: 299 kB / 333.7 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.008844, allocations: 327.3 kB / 334 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000838/0.009682, allocations: 1.328 MB / 335.4 MB, free: 5.758 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.009684, allocations: 0 / 335.4 MB, free: 5.758 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.009686, allocations: 4 kB / 335.4 MB, free: 5.754 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.009696, allocations: 0 / 335.4 MB, free: 5.754 MB / 298.7 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.001686/0.01138, allocations: 1.315 MB / 336.7 MB, free: 4.395 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.01142, allocations: 11.98 kB / 336.7 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002819/0.0117, allocations: 128.3 kB / 336.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006142/0.01232, allocations: 0.5962 MB / 337.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.01234, allocations: 49.69 kB / 337.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-05/0.01241, allocations: 68.36 kB / 337.5 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009002/0.01331, allocations: 0.9517 MB / 338.5 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.01333, allocations: 7.953 kB / 338.5 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/0.01337, allocations: 27.98 kB / 338.5 MB, free: 2.504 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.0134, allocations: 29.31 kB / 338.5 MB, free: 2.477 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007839/0.01419, allocations: 0.7936 MB / 339.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.01635, allocations: 2.419 MB / 341.8 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005078/0.01686, allocations: 495.5 kB / 342.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.01721, allocations: 318.1 kB / 342.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.01723, allocations: 4.328 kB / 342.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006426/0.01788, allocations: 411.4 kB / 343 MB, free: 13.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 1.412e-06/0.01788, allocations: 0 / 343 MB, free: 13.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.001513/0.01939, allocations: 1.115 MB / 344.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.01944, allocations: 110.8 kB / 344.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.01985, allocations: 0.5683 MB / 344.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.01988, allocations: 41.69 kB / 344.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.02005, allocations: 360.6 kB / 345.1 MB, free: 11.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.319e-05/0.02012, allocations: 150.7 kB / 345.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.477e-05/0.02022, allocations: 94.17 kB / 345.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.02032, allocations: 366.8 kB / 345.7 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.02055, allocations: 216.8 kB / 346 MB, free: 10.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.02083, allocations: 386.8 kB / 346.3 MB, free: 10.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.02133, allocations: 0.5783 MB / 346.9 MB, free: 9.789 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.02134, allocations: 0 / 346.9 MB, free: 9.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000715/0.02205, allocations: 0.7515 MB / 347.7 MB, free: 9.027 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.02207, allocations: 11.12 kB / 347.7 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.02207, allocations: 4 kB / 347.7 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003161/0.02239, allocations: 204.6 kB / 347.9 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.02255, allocations: 71.91 kB / 347.9 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.02477, allocations: 2.77 MB / 350.7 MB, free: 5.871 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.02493, allocations: 51.8 kB / 350.8 MB, free: 5.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.02495, allocations: 24 kB / 350.8 MB, free: 5.797 MB / 314.7 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.0002569/0.02521, allocations: 333.5 kB / 351.1 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.02525, allocations: 63.61 kB / 351.2 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.997e-05/0.02532, allocations: 69.41 kB / 351.2 MB, free: 5.324 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.02533, allocations: 4 kB / 351.2 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.02533, allocations: 0 / 351.2 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.02534, allocations: 3.984 kB / 351.3 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.02661, allocations: 1.44 MB / 352.7 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.02662, allocations: 0 / 352.7 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.02674, allocations: 51.91 kB / 352.7 MB, free: 3.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002369/0.02698, allocations: 195.6 kB / 352.9 MB, free: 3.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.027, allocations: 15.92 kB / 352.9 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/0.0288, allocations: 2.759 MB / 355.7 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.0288, allocations: 3.938 kB / 355.7 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009925/0.02979, allocations: 1.1 MB / 356.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004237/0.03022, allocations: 119.5 kB / 356.9 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.03026, allocations: 11.98 kB / 356.9 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.03039, allocations: 19.98 kB / 357 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/0.03049, allocations: 47.91 kB / 357 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.03051, allocations: 19.98 kB / 357 MB, free: 15.37 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003067/0.03082, allocations: 422.8 kB / 357.4 MB, free: 14.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03082, allocations: 0 / 357.4 MB, free: 14.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004044/0.03122, allocations: 203.5 kB / 357.6 MB, free: 14.76 MB / 330.7 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.0001192/0.03134, allocations: 123.2 kB / 357.8 MB, free: 14.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000761/0.0321, allocations: 0.7089 MB / 358.5 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.0321, allocations: 0 / 358.5 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003827/0.03248, allocations: 467 kB / 358.9 MB, free: 13.44 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.03289, allocations: 150.1 kB / 359.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.03432, allocations: 1.449 MB / 360.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.0346, allocations: 474.2 kB / 361 MB, free: 11.31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.003e-05/0.03468, allocations: 40.5 kB / 361 MB, free: 11.27 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.03468, allocations: 0 / 361 MB, free: 11.27 MB / 330.7 MB Notification: Performance of Templates: time 0.00987/0.04455, allocations: 13.29 MB / 374.3 MB, free: 14.02 MB / 346.7 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: 5.24086270108819]