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.001637/0.001637, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.001972/0.001972, allocations: 219.4 kB / 23 MB, free: 5.578 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.473/1.473, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.001826/0.001826, allocations: 63.89 kB / 376.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2641, allocations: 53.33 MB / 429.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005644/0.2697, allocations: 3.741 MB / 433.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.2719, allocations: 1.099 MB / 434.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.2721, allocations: 15.94 kB / 434.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.2724, allocations: 111.1 kB / 434.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006627/0.273, allocations: 234.6 kB / 435 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.2734, allocations: 163.7 kB / 435.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.2744, allocations: 0.9729 MB / 436.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000568/0.275, allocations: 351 kB / 436.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005148/0.2755, allocations: 422.6 kB / 436.9 MB, free: 412 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006698/0.2762, allocations: 0.5019 MB / 437.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.2763, allocations: 100 kB / 437.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.2765, allocations: 107.9 kB / 437.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.2768, allocations: 291.1 kB / 437.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004626/0.2772, allocations: 473.8 kB / 438.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.2785, allocations: 1.309 MB / 439.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2786, allocations: 0 / 439.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2786, allocations: 0 / 439.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.2786, allocations: 3.938 kB / 439.7 MB, free: 13.64 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.002131/0.2807, allocations: 1.212 MB / 440.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2807, allocations: 12.03 kB / 440.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000421/0.2812, allocations: 124.3 kB / 441 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009732/0.2821, allocations: 0.6612 MB / 441.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.803e-05/0.2822, allocations: 53.25 kB / 441.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.2823, allocations: 64 kB / 441.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.2839, allocations: 0.9189 MB / 442.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.2839, allocations: 7.953 kB / 442.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/0.284, allocations: 27.98 kB / 442.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/0.284, allocations: 33.31 kB / 442.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.2854, allocations: 0.7858 MB / 443.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004144/0.2895, allocations: 2.792 MB / 446.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009517/0.2905, allocations: 0.7175 MB / 447.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005678/0.291, allocations: 305.3 kB / 447.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.2911, allocations: 4.328 kB / 447.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006802/0.2918, allocations: 397 kB / 447.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.994e-06/0.2918, allocations: 0 / 447.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002885/0.2946, allocations: 1.218 MB / 449 MB, free: 3.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.2948, allocations: 122.6 kB / 449.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007503/0.2955, allocations: 0.5878 MB / 449.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.2955, allocations: 37.7 kB / 449.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.2959, allocations: 360.7 kB / 450.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.296, allocations: 146.8 kB / 450.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.2961, allocations: 86.25 kB / 450.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.2963, allocations: 374.7 kB / 450.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.2967, allocations: 221 kB / 450.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004962/0.2972, allocations: 365.7 kB / 451.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000864/0.2981, allocations: 0.5699 MB / 451.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2981, allocations: 0 / 451.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0013/0.2994, allocations: 0.7512 MB / 452.6 MB, free: 228 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2994, allocations: 7.938 kB / 452.6 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.2994, allocations: 4.5 kB / 452.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005301/0.2999, allocations: 204.7 kB / 452.8 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.3003, allocations: 79.91 kB / 452.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003664/0.3039, allocations: 3.033 MB / 455.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.3042, allocations: 51.75 kB / 455.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.3043, allocations: 16 kB / 456 MB, free: 12.69 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.0004115/0.3047, allocations: 333.5 kB / 456.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/0.3048, allocations: 67.61 kB / 456.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.3049, allocations: 69.58 kB / 456.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.3049, allocations: 7.984 kB / 456.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3049, allocations: 4 kB / 456.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3049, allocations: 3.984 kB / 456.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/0.3075, allocations: 1.729 MB / 458.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.3075, allocations: 4 kB / 458.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.3078, allocations: 47.91 kB / 458.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004206/0.3082, allocations: 196.7 kB / 458.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.3082, allocations: 8 kB / 458.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003247/0.3115, allocations: 2.919 MB / 461.3 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.3115, allocations: 7.875 kB / 461.3 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.3133, allocations: 1.139 MB / 462.5 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002642/0.3135, allocations: 204.5 kB / 462.7 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.498e-05/0.3136, allocations: 12 kB / 462.7 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.3139, allocations: 23.97 kB / 462.7 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.314, allocations: 47.72 kB / 462.8 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.3141, allocations: 15.98 kB / 462.8 MB, free: 5.605 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005225/0.3146, allocations: 430.8 kB / 463.2 MB, free: 5.188 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3146, allocations: 0 / 463.2 MB, free: 5.188 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006613/0.3152, allocations: 207.5 kB / 463.4 MB, free: 4.984 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.0001742/0.3154, allocations: 125.9 kB / 463.5 MB, free: 4.855 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.3167, allocations: 0.7169 MB / 464.2 MB, free: 4.125 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3167, allocations: 1 kB / 464.2 MB, free: 4.125 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007037/0.3174, allocations: 466.3 kB / 464.7 MB, free: 3.656 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006916/0.3181, allocations: 150.2 kB / 464.8 MB, free: 3.508 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.3209, allocations: 1.592 MB / 466.4 MB, free: 1.883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008301/0.3217, allocations: 1.078 MB / 467.5 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002448/0.3219, allocations: 96.78 kB / 467.6 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.322, allocations: 43.38 kB / 467.6 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.322, allocations: 0 / 467.6 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of Templates: time 0.01806/0.3401, allocations: 10.49 MB / 478.1 MB, free: 6.293 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.713100894354284]