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.001523/0.001523, allocations: 100 kB / 21.18 MB, free: 0.6484 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.001892/0.001892, allocations: 186.8 kB / 24.45 MB, free: 3.961 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.412/1.412, allocations: 225.7 MB / 253.3 MB, free: 12.8 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.001665/0.001665, allocations: 55.84 kB / 371.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2396, allocations: 52.17 MB / 423.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005674/0.2452, allocations: 3.416 MB / 427.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.2474, allocations: 0.9702 MB / 428.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003076/0.2477, allocations: 23.81 kB / 428.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.248, allocations: 107.1 kB / 428.4 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008234/0.2488, allocations: 238.7 kB / 428.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.2492, allocations: 151.7 kB / 428.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.2503, allocations: 0.9456 MB / 429.7 MB, free: 8.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005963/0.2509, allocations: 331.4 kB / 430 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005852/0.2515, allocations: 422.6 kB / 430.4 MB, free: 7.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008399/0.2523, allocations: 0.4903 MB / 430.9 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.2525, allocations: 100 kB / 431 MB, free: 7.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.2527, allocations: 100 kB / 431.1 MB, free: 7.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.253, allocations: 279.2 kB / 431.4 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004407/0.2534, allocations: 390.2 kB / 431.8 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.2547, allocations: 1.295 MB / 433.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2547, allocations: 0 / 433.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2547, allocations: 0 / 433.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.2547, allocations: 4 kB / 433.1 MB, free: 5.188 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.002317/0.257, allocations: 1.311 MB / 434.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2571, allocations: 8.031 kB / 434.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.2572, allocations: 92.38 kB / 434.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.2583, allocations: 0.5792 MB / 435 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.261e-05/0.2583, allocations: 57.23 kB / 435.1 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.2585, allocations: 63.94 kB / 435.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.26, allocations: 0.9401 MB / 436.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.26, allocations: 4 kB / 436.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.392e-05/0.2601, allocations: 27.98 kB / 436.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.687e-05/0.2602, allocations: 33.31 kB / 436.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.2615, allocations: 0.7897 MB / 437 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003937/0.2654, allocations: 2.417 MB / 439.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008497/0.2663, allocations: 495.5 kB / 439.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005919/0.2669, allocations: 309.3 kB / 440.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.2669, allocations: 8.328 kB / 440.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006654/0.2676, allocations: 419.5 kB / 440.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.505e-06/0.2676, allocations: 3.938 kB / 440.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002716/0.2703, allocations: 1.123 MB / 441.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.2704, allocations: 110.8 kB / 441.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007122/0.2711, allocations: 0.5487 MB / 442.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.2711, allocations: 37.73 kB / 442.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.2714, allocations: 368.5 kB / 442.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.2716, allocations: 142.8 kB / 442.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.2717, allocations: 94.14 kB / 443 MB, free: 10.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.2719, allocations: 358.8 kB / 443.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.2723, allocations: 220.8 kB / 443.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000508/0.2728, allocations: 374.9 kB / 443.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008784/0.2737, allocations: 0.5816 MB / 444.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.2737, allocations: 4 kB / 444.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001284/0.275, allocations: 0.7319 MB / 445.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.275, allocations: 8 kB / 445.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.275, allocations: 4 kB / 445.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005159/0.2755, allocations: 197 kB / 445.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.2758, allocations: 79.89 kB / 445.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/0.2793, allocations: 2.785 MB / 448.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.2796, allocations: 55.73 kB / 448.4 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.2797, allocations: 23.94 kB / 448.4 MB, free: 5.328 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.000452/0.2801, allocations: 328.5 kB / 448.7 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.404e-05/0.2802, allocations: 55.62 kB / 448.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.2804, allocations: 73.19 kB / 448.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.2804, allocations: 4 kB / 448.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2804, allocations: 144 / 448.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.2804, allocations: 7.984 kB / 448.8 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.2828, allocations: 1.432 MB / 450.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.2828, allocations: 4 kB / 450.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.2831, allocations: 47.89 kB / 450.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004442/0.2835, allocations: 196.7 kB / 450.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.2836, allocations: 8 kB / 450.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003307/0.2869, allocations: 2.761 MB / 453.3 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.2869, allocations: 7.938 kB / 453.3 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.2886, allocations: 1.092 MB / 454.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.2889, allocations: 119.6 kB / 454.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.029e-05/0.289, allocations: 8 kB / 454.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.2893, allocations: 31.97 kB / 454.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.2894, allocations: 47.84 kB / 454.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.2895, allocations: 12 kB / 454.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005076/0.29, allocations: 402.8 kB / 455 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.29, allocations: 0 / 455 MB, free: 14.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007595/0.2907, allocations: 215.4 kB / 455.2 MB, free: 14.32 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.0001566/0.2909, allocations: 123.3 kB / 455.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.2922, allocations: 0.701 MB / 456 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2922, allocations: 1 kB / 456 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007191/0.2929, allocations: 470 kB / 456.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006764/0.2936, allocations: 141.4 kB / 456.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.2962, allocations: 1.462 MB / 458.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/0.2967, allocations: 485.9 kB / 458.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.2968, allocations: 43.38 kB / 458.6 MB, free: 10.83 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2968, allocations: 0 / 458.6 MB, free: 10.83 MB / 366.1 MB Notification: Performance of Templates: time 0.01885/0.3157, allocations: 13.02 MB / 471.6 MB, free: 13.86 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/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: 8.196942809969187]