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.001327/0.001327, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 214.2 kB / 23.73 MB, free: 4.16 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.507/1.507, allocations: 230.5 MB / 257.4 MB, free: 7.82 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.002089/0.002089, allocations: 63.91 kB / 378.3 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.256, allocations: 53.4 MB / 431.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005464/0.2615, allocations: 3.446 MB / 435.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.2637, allocations: 1.052 MB / 436.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002768/0.264, allocations: 19.88 kB / 436.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.2643, allocations: 107.1 kB / 436.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008757/0.2652, allocations: 242.6 kB / 436.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003845/0.2656, allocations: 167.7 kB / 436.7 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.2666, allocations: 0.9652 MB / 437.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005399/0.2671, allocations: 339.5 kB / 438 MB, free: 152 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000598/0.2677, allocations: 442.6 kB / 438.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007327/0.2685, allocations: 498.1 kB / 438.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.2686, allocations: 108 kB / 439 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.2688, allocations: 103.9 kB / 439.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002734/0.2691, allocations: 287.1 kB / 439.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004017/0.2695, allocations: 390.2 kB / 439.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.2708, allocations: 1.314 MB / 441.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2708, allocations: 0 / 441.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2709, allocations: 0 / 441.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.2709, allocations: 0 / 441.1 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.002454/0.2733, allocations: 1.329 MB / 442.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.2734, allocations: 11.98 kB / 442.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004499/0.2738, allocations: 128.3 kB / 442.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.275, allocations: 0.6009 MB / 443.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.465e-05/0.275, allocations: 53.25 kB / 443.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.2751, allocations: 64 kB / 443.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.2768, allocations: 0.944 MB / 444.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.2769, allocations: 3.953 kB / 444.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-05/0.2769, allocations: 28 kB / 444.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.356e-05/0.277, allocations: 33.3 kB / 444.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.2784, allocations: 0.7897 MB / 445.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004174/0.2825, allocations: 2.421 MB / 447.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000872/0.2834, allocations: 499.7 kB / 448 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/0.284, allocations: 316.3 kB / 448.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.921e-05/0.2841, allocations: 8.328 kB / 448.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000703/0.2848, allocations: 402.5 kB / 448.7 MB, free: 5.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.244e-06/0.2848, allocations: 0 / 448.7 MB, free: 5.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002758/0.2875, allocations: 1.123 MB / 449.8 MB, free: 4.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.595e-05/0.2876, allocations: 110.6 kB / 449.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007747/0.2884, allocations: 0.5722 MB / 450.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.339e-05/0.2885, allocations: 37.7 kB / 450.5 MB, free: 3.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.2888, allocations: 376.6 kB / 450.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.289, allocations: 138.8 kB / 451 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.2891, allocations: 98.14 kB / 451.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.2893, allocations: 362.8 kB / 451.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/0.2897, allocations: 220.8 kB / 451.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.2902, allocations: 386.7 kB / 452.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009024/0.2911, allocations: 0.5738 MB / 452.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2911, allocations: 0 / 452.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001304/0.2924, allocations: 0.7436 MB / 453.4 MB, free: 332 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.2925, allocations: 10.34 kB / 453.4 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.2925, allocations: 7.984 kB / 453.4 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005448/0.293, allocations: 196.7 kB / 453.6 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.2934, allocations: 80.03 kB / 453.7 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003435/0.2968, allocations: 2.781 MB / 456.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.2972, allocations: 55.75 kB / 456.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.2972, allocations: 23.88 kB / 456.5 MB, free: 13.07 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.0005183/0.2977, allocations: 333.5 kB / 456.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.018e-05/0.2978, allocations: 55.67 kB / 456.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.298, allocations: 69.39 kB / 457 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.298, allocations: 8 kB / 457 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.298, allocations: 0 / 457 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.298, allocations: 3.984 kB / 457 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/0.3004, allocations: 1.44 MB / 458.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3004, allocations: 0 / 458.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.3007, allocations: 51.91 kB / 458.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004548/0.3011, allocations: 196.7 kB / 458.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.3012, allocations: 8 kB / 458.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003359/0.3045, allocations: 2.774 MB / 461.4 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3045, allocations: 0 / 461.4 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.3063, allocations: 1.096 MB / 462.5 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/0.3066, allocations: 115.5 kB / 462.7 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/0.3067, allocations: 12 kB / 462.7 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.307, allocations: 23.97 kB / 462.7 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.3071, allocations: 55.69 kB / 462.7 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.3071, allocations: 12 kB / 462.8 MB, free: 6.652 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005403/0.3077, allocations: 418.8 kB / 463.2 MB, free: 6.246 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3077, allocations: 0 / 463.2 MB, free: 6.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008245/0.3085, allocations: 207.5 kB / 463.4 MB, free: 6.043 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.0001921/0.3087, allocations: 119.9 kB / 463.5 MB, free: 5.918 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.3101, allocations: 0.7011 MB / 464.2 MB, free: 5.203 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.3101, allocations: 4 kB / 464.2 MB, free: 5.199 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006947/0.3108, allocations: 459.3 kB / 464.6 MB, free: 4.738 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/0.3114, allocations: 154 kB / 464.8 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.3139, allocations: 1.479 MB / 466.3 MB, free: 3.082 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/0.3145, allocations: 490.1 kB / 466.7 MB, free: 2.578 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002631/0.3147, allocations: 92.69 kB / 466.8 MB, free: 2.488 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.3148, allocations: 39.42 kB / 466.9 MB, free: 2.449 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3148, allocations: 0 / 466.9 MB, free: 2.449 MB / 366.1 MB Notification: Performance of Templates: time 0.01955/0.3344, allocations: 10.52 MB / 477.4 MB, free: 8.117 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.72549045830965]