Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001697/0.002881, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001415/0.002662, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9668/0.9668, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08006/1.047, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.827e-05, allocations: 9.125 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003568/0.003586, allocations: 3.713 MB / 248.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.005204, allocations: 1.11 MB / 249.4 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.005387, allocations: 19.88 kB / 249.4 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.005558, allocations: 111.1 kB / 249.5 MB, free: 9.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005309/0.006089, allocations: 258.2 kB / 249.7 MB, free: 9.066 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.006349, allocations: 159.6 kB / 249.9 MB, free: 8.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007597/0.007109, allocations: 0.9998 MB / 250.9 MB, free: 7.906 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.007459, allocations: 351.5 kB / 251.2 MB, free: 7.535 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006434/0.008103, allocations: 0.6871 MB / 251.9 MB, free: 6.848 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004822/0.008585, allocations: 478.9 kB / 252.4 MB, free: 6.379 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.346e-05/0.008678, allocations: 100 kB / 252.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.008816, allocations: 108 kB / 252.6 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.008974, allocations: 231.4 kB / 252.8 MB, free: 5.949 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.009182, allocations: 271.5 kB / 253.1 MB, free: 5.684 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005605/0.009742, allocations: 0.7359 MB / 253.8 MB, free: 4.945 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.335e-05/0.009755, allocations: 0 / 253.8 MB, free: 4.945 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.009756, allocations: 0 / 253.8 MB, free: 4.945 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.421e-05/0.009781, allocations: 0 / 253.8 MB, free: 4.945 MB / 250.7 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.001306/0.01109, allocations: 1.213 MB / 255 MB, free: 3.707 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.01112, allocations: 8.031 kB / 255 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002791/0.01139, allocations: 213.9 kB / 255.3 MB, free: 3.473 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.01186, allocations: 425.3 kB / 255.7 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.01188, allocations: 53.67 kB / 255.7 MB, free: 2.977 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/0.01195, allocations: 72.31 kB / 255.8 MB, free: 2.906 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005343/0.01249, allocations: 0.5451 MB / 256.3 MB, free: 2.328 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.0125, allocations: 0 / 256.3 MB, free: 2.328 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/0.01254, allocations: 31.98 kB / 256.4 MB, free: 2.297 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.388e-05/0.01258, allocations: 29.31 kB / 256.4 MB, free: 2.27 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.01282, allocations: 165 kB / 256.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.01448, allocations: 1.732 MB / 258.3 MB, free: 308 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.01473, allocations: 219.3 kB / 258.5 MB, free: 80 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.01489, allocations: 129.3 kB / 258.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.01492, allocations: 8.328 kB / 258.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.01515, allocations: 235.7 kB / 258.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.303e-06/0.01515, allocations: 0 / 258.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009/0.01605, allocations: 484.4 kB / 259.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.01609, allocations: 81.11 kB / 259.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.01634, allocations: 411.2 kB / 259.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.01637, allocations: 33.7 kB / 259.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.01651, allocations: 321.7 kB / 260.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.385e-05/0.01658, allocations: 146.8 kB / 260.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.482e-05/0.01667, allocations: 82.14 kB / 260.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.01677, allocations: 370.6 kB / 260.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.332e-05/0.01683, allocations: 40.98 kB / 260.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.01696, allocations: 202.9 kB / 261 MB, free: 13.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.01718, allocations: 275.1 kB / 261.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01718, allocations: 0 / 261.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003501/0.01753, allocations: 320.6 kB / 261.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.01755, allocations: 14.91 kB / 261.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01755, allocations: 4.5 kB / 261.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002136/0.01777, allocations: 95.55 kB / 261.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.01794, allocations: 83.83 kB / 261.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.01919, allocations: 1.871 MB / 263.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.01932, allocations: 43.86 kB / 263.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.01934, allocations: 16 kB / 263.7 MB, free: 10.55 MB / 266.7 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.0001211/0.01946, allocations: 144.5 kB / 263.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.01951, allocations: 55.94 kB / 263.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.366e-05/0.01957, allocations: 65.39 kB / 264 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.01958, allocations: 4 kB / 264 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.01958, allocations: 4 kB / 264 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.01959, allocations: 3.938 kB / 264 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007959/0.02038, allocations: 0.7845 MB / 264.8 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.02038, allocations: 32 / 264.8 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.0205, allocations: 51.97 kB / 264.8 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.85e-05/0.0206, allocations: 79.53 kB / 264.9 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001649/0.02077, allocations: 83.56 kB / 265 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.02079, allocations: 15.98 kB / 265 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.02187, allocations: 1.823 MB / 266.8 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.02187, allocations: 3.938 kB / 266.8 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004408/0.02232, allocations: 451.2 kB / 267.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.02236, allocations: 15.94 kB / 267.3 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.02248, allocations: 19.98 kB / 267.3 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.02254, allocations: 35.92 kB / 267.3 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.02255, allocations: 8 kB / 267.3 MB, free: 6.766 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001388/0.02269, allocations: 184.4 kB / 267.5 MB, free: 6.586 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02269, allocations: 0 / 267.5 MB, free: 6.586 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003625/0.02306, allocations: 207.5 kB / 267.7 MB, free: 6.383 MB / 266.7 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.0001106/0.02317, allocations: 108.3 kB / 267.8 MB, free: 6.266 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004157/0.02358, allocations: 399.2 kB / 268.2 MB, free: 5.863 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/0.02359, allocations: 8.984 kB / 268.2 MB, free: 5.855 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.02382, allocations: 303 kB / 268.5 MB, free: 5.543 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.02418, allocations: 181.8 kB / 268.7 MB, free: 5.367 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.02806, allocations: 1.428 MB / 270.1 MB, free: 3.895 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.0282, allocations: 210.2 kB / 270.3 MB, free: 3.664 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.02833, allocations: 60.8 kB / 270.4 MB, free: 3.602 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.02854, allocations: 169.3 kB / 270.5 MB, free: 3.434 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02854, allocations: 0 / 270.5 MB, free: 3.434 MB / 266.7 MB Notification: Performance of Templates: time 0.0122/0.04074, allocations: 10.74 MB / 281.3 MB, free: 8.938 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.62855264544487]