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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00146/0.00146, allocations: 109.3 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001374, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.473/1.473, allocations: 230.4 MB / 251.1 MB, free: 8.492 MB / 206.1 MB 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.001991/0.001991, allocations: 67.83 kB / 369 MB, free: 6.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2425, allocations: 53.31 MB / 422.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005342/0.2478, allocations: 3.728 MB / 426 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.2498, allocations: 1.099 MB / 427.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.25, allocations: 19.94 kB / 427.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.2503, allocations: 107.1 kB / 427.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006363/0.2509, allocations: 238.6 kB / 427.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.2512, allocations: 163.6 kB / 427.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.2522, allocations: 0.9574 MB / 428.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006073/0.2528, allocations: 455 kB / 429 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005116/0.2534, allocations: 418.5 kB / 429.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006517/0.254, allocations: 0.4981 MB / 429.9 MB, free: 136 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.2541, allocations: 108 kB / 430 MB, free: 28 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.2543, allocations: 104 kB / 430.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002819/0.2546, allocations: 291.1 kB / 430.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004575/0.2551, allocations: 481.8 kB / 430.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.2564, allocations: 1.299 MB / 432.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2564, allocations: 4 kB / 432.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2564, allocations: 0 / 432.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.2564, allocations: 4 kB / 432.2 MB, free: 13.86 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.002039/0.2584, allocations: 1.2 MB / 433.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.2585, allocations: 8.031 kB / 433.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004221/0.2589, allocations: 128.3 kB / 433.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009586/0.2598, allocations: 0.6651 MB / 434.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.33e-05/0.2599, allocations: 53.25 kB / 434.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.26, allocations: 64 kB / 434.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.2615, allocations: 0.915 MB / 435.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.2615, allocations: 4 kB / 435.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.057e-05/0.2616, allocations: 31.98 kB / 435.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/0.2617, allocations: 29.31 kB / 435.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.263, allocations: 0.7936 MB / 436.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004116/0.2671, allocations: 2.788 MB / 438.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009456/0.2681, allocations: 0.7153 MB / 439.6 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005508/0.2686, allocations: 317.2 kB / 439.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.2687, allocations: 4.328 kB / 439.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006219/0.2693, allocations: 389.8 kB / 440.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.2693, allocations: 0 / 440.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002791/0.2721, allocations: 1.225 MB / 441.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.2722, allocations: 122.5 kB / 441.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007902/0.273, allocations: 0.5879 MB / 442.2 MB, free: 3.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.273, allocations: 33.7 kB / 442.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.2733, allocations: 372.6 kB / 442.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.2735, allocations: 142.8 kB / 442.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.2736, allocations: 90.25 kB / 442.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.2738, allocations: 366.8 kB / 443.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003954/0.2742, allocations: 225 kB / 443.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.2747, allocations: 357.7 kB / 443.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008817/0.2756, allocations: 0.5666 MB / 444.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2756, allocations: 0 / 444.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00135/0.277, allocations: 0.7551 MB / 445.1 MB, free: 460 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.277, allocations: 8 kB / 445.1 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.277, allocations: 4 kB / 445.1 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005387/0.2775, allocations: 205.2 kB / 445.3 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.2778, allocations: 75.89 kB / 445.4 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003777/0.2816, allocations: 3.032 MB / 448.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.282, allocations: 59.75 kB / 448.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.282, allocations: 16 kB / 448.5 MB, free: 12.91 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.0004832/0.2825, allocations: 337.5 kB / 448.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-05/0.2826, allocations: 63.61 kB / 448.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.2827, allocations: 61.44 kB / 448.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2827, allocations: 8 kB / 448.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2827, allocations: 4 kB / 448.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.2827, allocations: 3.984 kB / 449 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.2854, allocations: 1.741 MB / 450.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2854, allocations: 0 / 450.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.2856, allocations: 43.91 kB / 450.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004438/0.286, allocations: 196.7 kB / 450.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.2861, allocations: 12 kB / 450.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003398/0.2895, allocations: 2.915 MB / 453.9 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2895, allocations: 3.938 kB / 453.9 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.2914, allocations: 1.143 MB / 455 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.2916, allocations: 200.6 kB / 455.2 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.429e-05/0.2917, allocations: 8 kB / 455.2 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.292, allocations: 23.97 kB / 455.2 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.2921, allocations: 47.72 kB / 455.3 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.2921, allocations: 19.98 kB / 455.3 MB, free: 5.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005311/0.2927, allocations: 430.7 kB / 455.7 MB, free: 5.422 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2927, allocations: 3.938 kB / 455.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007336/0.2934, allocations: 207.5 kB / 455.9 MB, free: 5.215 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.0001776/0.2936, allocations: 119.5 kB / 456 MB, free: 5.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.2949, allocations: 0.7173 MB / 456.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2949, allocations: 0 / 456.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007125/0.2956, allocations: 459.3 kB / 457.2 MB, free: 3.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007133/0.2963, allocations: 158.5 kB / 457.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.2993, allocations: 1.595 MB / 459 MB, free: 2.117 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008147/0.3002, allocations: 1.078 MB / 460 MB, free: 1.012 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002607/0.3004, allocations: 96.78 kB / 460.1 MB, free: 0.918 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.3005, allocations: 35.44 kB / 460.2 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3005, allocations: 0 / 460.2 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of Templates: time 0.01897/0.3195, allocations: 10.44 MB / 470.6 MB, free: 6.594 MB / 382.1 MB 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] Reference file matches