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.001167/0.001167, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002629, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0008308/0.0008308, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001188/0.002019, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9774/0.9774, allocations: 173.3 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08365/1.061, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] 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 1.122e-06/1.122e-06, allocations: 0 / 239.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.112e-05, allocations: 2.875 kB / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003898/0.003919, allocations: 3.675 MB / 243.2 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.005862, allocations: 1.04 MB / 244.3 MB, free: 14.42 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.006056, allocations: 23.81 kB / 244.3 MB, free: 14.4 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.006218, allocations: 107.1 kB / 244.4 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005336/0.006752, allocations: 246.3 kB / 244.7 MB, free: 14.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.007046, allocations: 151.6 kB / 244.8 MB, free: 13.9 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009404/0.007986, allocations: 0.988 MB / 245.8 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003387/0.008325, allocations: 335.4 kB / 246.1 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006291/0.008954, allocations: 0.6716 MB / 246.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005142/0.009468, allocations: 474.9 kB / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.881e-05/0.009567, allocations: 100 kB / 247.3 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.009681, allocations: 104 kB / 247.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.009875, allocations: 231.4 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.01011, allocations: 275.5 kB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005605/0.01067, allocations: 0.7126 MB / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/0.01068, allocations: 0 / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01068, allocations: 0 / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.0107, allocations: 0 / 248.7 MB, free: 10.02 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.001225/0.01193, allocations: 1.205 MB / 249.9 MB, free: 8.781 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.01196, allocations: 11.97 kB / 249.9 MB, free: 8.77 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.0121, allocations: 112.8 kB / 250 MB, free: 8.66 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004667/0.01256, allocations: 399.3 kB / 250.4 MB, free: 8.242 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.01259, allocations: 45.69 kB / 250.4 MB, free: 8.199 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.385e-05/0.01267, allocations: 68.38 kB / 250.5 MB, free: 8.133 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005547/0.01322, allocations: 0.5412 MB / 251 MB, free: 7.559 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.01324, allocations: 3.953 kB / 251 MB, free: 7.555 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.01329, allocations: 35.92 kB / 251.1 MB, free: 7.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/0.01333, allocations: 37.23 kB / 251.1 MB, free: 7.484 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/0.01357, allocations: 161 kB / 251.3 MB, free: 7.324 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.01526, allocations: 1.724 MB / 253 MB, free: 5.527 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.01551, allocations: 222.2 kB / 253.2 MB, free: 5.305 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.01566, allocations: 117.4 kB / 253.3 MB, free: 5.188 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.01568, allocations: 4.328 kB / 253.3 MB, free: 5.184 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.01592, allocations: 247.6 kB / 253.6 MB, free: 4.914 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.312e-06/0.01592, allocations: 0 / 253.6 MB, free: 4.914 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008576/0.01677, allocations: 469.4 kB / 254 MB, free: 4.445 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.01681, allocations: 85.11 kB / 254.1 MB, free: 4.344 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.01705, allocations: 403.2 kB / 254.5 MB, free: 3.938 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.01708, allocations: 37.7 kB / 254.5 MB, free: 3.895 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.01721, allocations: 305.5 kB / 254.8 MB, free: 3.59 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.894e-05/0.01729, allocations: 146.7 kB / 255 MB, free: 3.445 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.853e-05/0.01737, allocations: 90.17 kB / 255.1 MB, free: 3.352 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.01747, allocations: 374.6 kB / 255.4 MB, free: 2.977 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.004e-05/0.01753, allocations: 36.98 kB / 255.5 MB, free: 2.941 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.01766, allocations: 206.9 kB / 255.7 MB, free: 2.672 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.01787, allocations: 277.6 kB / 255.9 MB, free: 2.344 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01787, allocations: 0 / 255.9 MB, free: 2.344 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003369/0.01821, allocations: 316.5 kB / 256.2 MB, free: 2.023 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.01822, allocations: 15.92 kB / 256.3 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.01823, allocations: 4 kB / 256.3 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.01842, allocations: 99.72 kB / 256.4 MB, free: 1.906 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.01859, allocations: 83.89 kB / 256.4 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.01984, allocations: 1.872 MB / 258.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.01998, allocations: 39.91 kB / 258.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.02, allocations: 16 kB / 258.4 MB, free: 15.8 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.000127/0.02013, allocations: 152.4 kB / 258.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.02018, allocations: 51.94 kB / 258.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.411e-05/0.02025, allocations: 61.3 kB / 258.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.02025, allocations: 11.98 kB / 258.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.02025, allocations: 0 / 258.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.02026, allocations: 7.922 kB / 258.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008069/0.02107, allocations: 0.7678 MB / 259.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.02107, allocations: 0 / 259.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.0212, allocations: 55.91 kB / 259.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.771e-05/0.0213, allocations: 71.62 kB / 259.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001607/0.02146, allocations: 83.55 kB / 259.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.02148, allocations: 12 kB / 259.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.02257, allocations: 1.816 MB / 261.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.02257, allocations: 7.938 kB / 261.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.02302, allocations: 462.9 kB / 261.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.02306, allocations: 11.94 kB / 261.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.02319, allocations: 19.98 kB / 261.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.02325, allocations: 39.88 kB / 262 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.02327, allocations: 11.98 kB / 262 MB, free: 12.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001294/0.0234, allocations: 180.4 kB / 262.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.0234, allocations: 0 / 262.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003564/0.02375, allocations: 207.5 kB / 262.4 MB, free: 11.64 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.0001068/0.02386, allocations: 108.5 kB / 262.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004228/0.02428, allocations: 399.6 kB / 262.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.02429, allocations: 8 kB / 262.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000247/0.02454, allocations: 304 kB / 263.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.02488, allocations: 178 kB / 263.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/0.029, allocations: 1.419 MB / 264.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.02915, allocations: 210.1 kB / 265 MB, free: 8.938 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.02928, allocations: 52.67 kB / 265 MB, free: 8.887 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.02949, allocations: 173.2 kB / 265.2 MB, free: 8.719 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.02949, allocations: 0 / 265.2 MB, free: 8.719 MB / 266.7 MB Notification: Performance of Templates: time 0.1077/0.1372, allocations: 10.58 MB / 275.8 MB, free: 26.98 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] 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","",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.821673414669931]