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.00128/0.00128, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001467/0.001467, allocations: 209.4 kB / 24.47 MB, free: 4.023 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.504/1.504, 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.002228/0.002228, allocations: 67.83 kB / 378.8 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2682, allocations: 53.31 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005541/0.2737, allocations: 3.749 MB / 435.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.2758, allocations: 1.087 MB / 436.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.276, allocations: 15.94 kB / 436.9 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.2763, allocations: 111.1 kB / 437 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006787/0.277, allocations: 238.6 kB / 437.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.2773, allocations: 159.6 kB / 437.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.2783, allocations: 0.9612 MB / 438.4 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005357/0.2789, allocations: 358.8 kB / 438.7 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004913/0.2794, allocations: 418.5 kB / 439.1 MB, free: 260 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007025/0.2801, allocations: 0.502 MB / 439.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.2802, allocations: 104 kB / 439.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.2804, allocations: 104 kB / 439.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002702/0.2807, allocations: 283.1 kB / 440.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004739/0.2811, allocations: 481.8 kB / 440.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.2825, allocations: 1.302 MB / 441.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2825, allocations: 0 / 441.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2825, allocations: 0 / 441.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.2825, allocations: 0 / 441.9 MB, free: 13.49 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.002433/0.2849, allocations: 1.405 MB / 443.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.285, allocations: 11.97 kB / 443.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004345/0.2854, allocations: 128.3 kB / 443.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.2865, allocations: 0.6612 MB / 444.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.942e-05/0.2865, allocations: 53.25 kB / 444.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.2866, allocations: 64 kB / 444.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.2882, allocations: 0.915 MB / 445.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.2882, allocations: 7.891 kB / 445.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-05/0.2883, allocations: 32 kB / 445.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-05/0.2883, allocations: 37.3 kB / 445.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.2897, allocations: 0.7858 MB / 446 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004307/0.294, allocations: 2.792 MB / 448.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009739/0.295, allocations: 0.707 MB / 449.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005884/0.2956, allocations: 313.2 kB / 449.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.763e-05/0.2956, allocations: 8.328 kB / 449.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006631/0.2963, allocations: 385.9 kB / 450.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.954e-06/0.2963, allocations: 0 / 450.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002923/0.2992, allocations: 1.19 MB / 451.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.626e-05/0.2993, allocations: 118.5 kB / 451.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008265/0.3001, allocations: 0.584 MB / 452.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.3002, allocations: 33.7 kB / 452.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.3005, allocations: 372.6 kB / 452.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.3007, allocations: 150.8 kB / 452.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.3008, allocations: 94.14 kB / 452.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.301, allocations: 370.7 kB / 453.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004074/0.3014, allocations: 217 kB / 453.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005297/0.302, allocations: 357.7 kB / 453.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009317/0.3029, allocations: 0.5783 MB / 454.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3029, allocations: 0 / 454.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001442/0.3043, allocations: 0.7399 MB / 454.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.3044, allocations: 8 kB / 455 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3044, allocations: 4 kB / 455 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005693/0.305, allocations: 208.7 kB / 455.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.3053, allocations: 79.92 kB / 455.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003654/0.3089, allocations: 2.933 MB / 458.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.3094, allocations: 47.77 kB / 458.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.3094, allocations: 23.98 kB / 458.2 MB, free: 12.48 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.0005202/0.3099, allocations: 329.6 kB / 458.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.409e-05/0.31, allocations: 55.67 kB / 458.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.3101, allocations: 73.42 kB / 458.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.3101, allocations: 4 kB / 458.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3102, allocations: 3.938 kB / 458.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3102, allocations: 0 / 458.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002643/0.3128, allocations: 1.636 MB / 460.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3128, allocations: 0 / 460.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.3131, allocations: 43.97 kB / 460.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004483/0.3135, allocations: 204.8 kB / 460.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.3135, allocations: 12 kB / 460.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003604/0.3171, allocations: 2.916 MB / 463.5 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3171, allocations: 0 / 463.5 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.319, allocations: 1.104 MB / 464.6 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003772/0.3194, allocations: 196.7 kB / 464.8 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.922e-05/0.3195, allocations: 12 kB / 464.8 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.3198, allocations: 27.97 kB / 464.8 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.3199, allocations: 51.66 kB / 464.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.3199, allocations: 15.98 kB / 464.9 MB, free: 5.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005736/0.3205, allocations: 426.8 kB / 465.3 MB, free: 5.137 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3205, allocations: 0 / 465.3 MB, free: 5.137 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007423/0.3213, allocations: 215.4 kB / 465.5 MB, free: 4.926 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.0001752/0.3214, allocations: 119.4 kB / 465.6 MB, free: 4.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.3229, allocations: 0.71 MB / 466.4 MB, free: 4.078 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3229, allocations: 4.062 kB / 466.4 MB, free: 4.074 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007431/0.3236, allocations: 450.2 kB / 466.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007421/0.3243, allocations: 159.6 kB / 467 MB, free: 3.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.3271, allocations: 1.489 MB / 468.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000849/0.328, allocations: 1.074 MB / 469.5 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003065/0.3283, allocations: 100.8 kB / 469.6 MB, free: 0.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.3284, allocations: 39.44 kB / 469.7 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3284, allocations: 0 / 469.7 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of Templates: time 0.01952/0.3479, allocations: 10.5 MB / 480.2 MB, free: 6.375 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 -s cvode -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: 4.695269137155265]