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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.001386/0.001386, allocations: 210.8 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.383/1.383, allocations: 230.5 MB / 258.1 MB, free: 8.129 MB / 206.1 MB " [Timeout remaining time 178] 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] "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.001855/0.001855, allocations: 71.83 kB / 378.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2606, allocations: 53.32 MB / 432.1 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005477/0.2661, allocations: 3.742 MB / 435.8 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.2683, allocations: 1.099 MB / 436.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.2685, allocations: 15.88 kB / 436.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.2688, allocations: 111.1 kB / 437 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007359/0.2696, allocations: 242.5 kB / 437.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.2699, allocations: 155.7 kB / 437.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.271, allocations: 0.9651 MB / 438.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000535/0.2715, allocations: 354.8 kB / 438.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005279/0.272, allocations: 414.6 kB / 439.1 MB, free: 224 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006899/0.2727, allocations: 0.5058 MB / 439.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.2729, allocations: 100 kB / 439.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.273, allocations: 108 kB / 439.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002683/0.2733, allocations: 279.1 kB / 440.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004628/0.2738, allocations: 481.8 kB / 440.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.2751, allocations: 1.306 MB / 441.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2751, allocations: 0 / 441.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2751, allocations: 0 / 441.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.2751, allocations: 0 / 441.9 MB, free: 13.45 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.002422/0.2776, allocations: 1.409 MB / 443.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2776, allocations: 12.03 kB / 443.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004257/0.278, allocations: 120.3 kB / 443.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.2791, allocations: 0.6651 MB / 444.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/0.2791, allocations: 49.25 kB / 444.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.2792, allocations: 64 kB / 444.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.2807, allocations: 0.9228 MB / 445.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.2808, allocations: 3.953 kB / 445.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.482e-05/0.2808, allocations: 24 kB / 445.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.884e-05/0.2809, allocations: 37.3 kB / 445.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.2822, allocations: 0.7897 MB / 446 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004147/0.2864, allocations: 2.784 MB / 448.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000935/0.2873, allocations: 0.7186 MB / 449.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/0.2879, allocations: 305.3 kB / 449.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.2879, allocations: 8.328 kB / 449.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006196/0.2885, allocations: 393.8 kB / 450.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.933e-06/0.2885, allocations: 0 / 450.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002697/0.2912, allocations: 1.186 MB / 451.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.2913, allocations: 118.6 kB / 451.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007285/0.292, allocations: 0.5841 MB / 452.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.2921, allocations: 37.7 kB / 452.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002909/0.2924, allocations: 368.6 kB / 452.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.2925, allocations: 142.8 kB / 452.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.2926, allocations: 90.2 kB / 452.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.2928, allocations: 370.7 kB / 453.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.2932, allocations: 224.9 kB / 453.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/0.2937, allocations: 361.8 kB / 453.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008506/0.2945, allocations: 0.5705 MB / 454.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2945, allocations: 0 / 454.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001258/0.2958, allocations: 0.7435 MB / 454.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.2958, allocations: 11.94 kB / 455 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.2958, allocations: 4 kB / 455 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005208/0.2963, allocations: 213.1 kB / 455.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.2966, allocations: 67.91 kB / 455.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003375/0.3, allocations: 2.938 MB / 458.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.3004, allocations: 51.75 kB / 458.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.3004, allocations: 20 kB / 458.2 MB, free: 12.45 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.0004658/0.3009, allocations: 325.6 kB / 458.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.698e-05/0.301, allocations: 55.81 kB / 458.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.3011, allocations: 73.41 kB / 458.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.3011, allocations: 8 kB / 458.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3011, allocations: 3.938 kB / 458.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3011, allocations: 7.984 kB / 458.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.3036, allocations: 1.628 MB / 460.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3036, allocations: 0 / 460.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.3038, allocations: 47.94 kB / 460.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004261/0.3042, allocations: 196.7 kB / 460.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.3043, allocations: 16 kB / 460.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003394/0.3077, allocations: 2.914 MB / 463.5 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3077, allocations: 0 / 463.5 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.3094, allocations: 1.104 MB / 464.6 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003389/0.3098, allocations: 200.6 kB / 464.8 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/0.3098, allocations: 12 kB / 464.8 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.3101, allocations: 23.97 kB / 464.8 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.3103, allocations: 51.66 kB / 464.9 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.3103, allocations: 11.98 kB / 464.9 MB, free: 5.523 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005519/0.3109, allocations: 430.8 kB / 465.3 MB, free: 5.105 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3109, allocations: 0 / 465.3 MB, free: 5.105 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007148/0.3116, allocations: 215.5 kB / 465.5 MB, free: 4.895 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.0001984/0.3118, allocations: 131.6 kB / 465.7 MB, free: 4.758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.3131, allocations: 0.7052 MB / 466.4 MB, free: 4.039 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3131, allocations: 0 / 466.4 MB, free: 4.039 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007012/0.3138, allocations: 459.3 kB / 466.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007413/0.3145, allocations: 150.3 kB / 467 MB, free: 3.434 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.3171, allocations: 1.512 MB / 468.5 MB, free: 1.887 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007376/0.3178, allocations: 1.066 MB / 469.5 MB, free: 0.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.318, allocations: 43.42 kB / 469.6 MB, free: 0.75 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.318, allocations: 4 kB / 469.6 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of Templates: time 0.02027/0.3382, allocations: 13.15 MB / 482.7 MB, free: 3.641 MB / 382.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.978769207838923]