Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 189.6 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 43.92 kB / 371 MB, free: 9.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2605, allocations: 52.19 MB / 423.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005618/0.2661, allocations: 3.716 MB / 426.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.2682, allocations: 1.017 MB / 427.9 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.2684, allocations: 19.88 kB / 427.9 MB, free: 9.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.2687, allocations: 107.1 kB / 428 MB, free: 9.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007605/0.2695, allocations: 250.6 kB / 428.2 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.2698, allocations: 139.7 kB / 428.4 MB, free: 9.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.2711, allocations: 0.9495 MB / 429.3 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005549/0.2717, allocations: 343.5 kB / 429.7 MB, free: 8.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004761/0.2721, allocations: 414.6 kB / 430.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007169/0.2729, allocations: 0.5097 MB / 430.6 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.273, allocations: 100 kB / 430.7 MB, free: 7.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.2732, allocations: 100 kB / 430.8 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.2735, allocations: 275.2 kB / 431 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005143/0.274, allocations: 477.8 kB / 431.5 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.2754, allocations: 1.293 MB / 432.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2754, allocations: 0 / 432.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2754, allocations: 0 / 432.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.2754, allocations: 0 / 432.8 MB, free: 4.992 MB / 334.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.002474/0.2779, allocations: 1.318 MB / 434.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2779, allocations: 8.031 kB / 434.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.2781, allocations: 92.38 kB / 434.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.2791, allocations: 0.5792 MB / 434.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.2792, allocations: 53.25 kB / 434.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.2793, allocations: 63.98 kB / 434.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.281, allocations: 0.9228 MB / 435.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.281, allocations: 0 / 435.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.912e-05/0.2811, allocations: 32 kB / 435.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.607e-05/0.2811, allocations: 29.3 kB / 435.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.2826, allocations: 0.7936 MB / 436.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004345/0.287, allocations: 2.729 MB / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009149/0.2879, allocations: 499.6 kB / 439.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006011/0.2885, allocations: 305.3 kB / 440.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.2885, allocations: 8.312 kB / 440.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006881/0.2892, allocations: 381.9 kB / 440.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.275e-06/0.2892, allocations: 0 / 440.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003009/0.2922, allocations: 1.123 MB / 441.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.2923, allocations: 106.8 kB / 441.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008362/0.2931, allocations: 0.5644 MB / 442.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/0.2932, allocations: 33.7 kB / 442.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.2935, allocations: 372.6 kB / 442.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.2937, allocations: 150.7 kB / 442.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.2938, allocations: 90.14 kB / 443 MB, free: 10.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.2941, allocations: 366.7 kB / 443.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.2945, allocations: 220.8 kB / 443.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.295, allocations: 357.1 kB / 443.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009599/0.2959, allocations: 0.5699 MB / 444.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2959, allocations: 0 / 444.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001304/0.2972, allocations: 0.74 MB / 445.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2973, allocations: 8 kB / 445.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2973, allocations: 4 kB / 445.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005293/0.2978, allocations: 204.6 kB / 445.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.2981, allocations: 75.89 kB / 445.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003524/0.3016, allocations: 2.842 MB / 448.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.302, allocations: 51.8 kB / 448.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.3021, allocations: 16 kB / 448.4 MB, free: 4.82 MB / 350.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.0004858/0.3026, allocations: 333.5 kB / 448.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.984e-05/0.3027, allocations: 59.62 kB / 448.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.3028, allocations: 73.27 kB / 448.9 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3028, allocations: 4 kB / 448.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3028, allocations: 3.938 kB / 448.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3028, allocations: 144 / 448.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/0.3055, allocations: 1.599 MB / 450.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3055, allocations: 0 / 450.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.3057, allocations: 47.91 kB / 450.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004644/0.3062, allocations: 196.7 kB / 450.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.3062, allocations: 8 kB / 450.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003482/0.3097, allocations: 2.831 MB / 453.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3097, allocations: 0 / 453.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.3115, allocations: 1.1 MB / 454.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/0.3118, allocations: 119.5 kB / 454.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.397e-05/0.3119, allocations: 8 kB / 454.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.3122, allocations: 31.97 kB / 454.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.3123, allocations: 55.84 kB / 454.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.3124, allocations: 8 kB / 454.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005444/0.3129, allocations: 414.8 kB / 455.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3129, allocations: 0 / 455.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007604/0.3137, allocations: 211.5 kB / 455.5 MB, free: 13.54 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.0001924/0.3139, allocations: 124.1 kB / 455.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.3154, allocations: 0.6979 MB / 456.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.3154, allocations: 8.188 kB / 456.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000754/0.3161, allocations: 462 kB / 456.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007584/0.3169, allocations: 142.1 kB / 456.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.3196, allocations: 1.463 MB / 458.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008672/0.3204, allocations: 1.081 MB / 459.5 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000294/0.3207, allocations: 96.72 kB / 459.6 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.3208, allocations: 39.44 kB / 459.6 MB, free: 9.355 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3208, allocations: 0 / 459.6 MB, free: 9.355 MB / 366.1 MB Notification: Performance of Templates: time 0.01962/0.3405, allocations: 10.5 MB / 470.1 MB, free: 15.01 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.63043468259275]